From: Iain Patterson Date: Sun, 7 Aug 2011 11:30:14 +0000 (+0100) Subject: Fix prompt for join-pane. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;ds=inline;h=bfa0c4f2b6dd1f8b6c27c7a3d30dd9d21a524fb1;p=profile.git Fix prompt for join-pane. The argument to join-pane is a pane specifier. If no dot is used to separate the window and pane parts, join-pane treats the argument as a window and joins pane zero from that window. Thus strictly speaking the pane part of the command prompt should be shown as optional rather than the window part. --- diff --git a/.tmux.conf b/.tmux.conf index dd5202a..d4077d3 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -72,7 +72,7 @@ bind = display-panes # Move the current pane into a separate window. bind b break-pane # Split another pane into this window. -bind B command-prompt -p "Select [.] to join:" 'join-pane -s %1' +bind B command-prompt -p "Select [.] to join:" 'join-pane -s %1' # Split vertically. bind C-\ split-window -v # Next pane.