Adds notes to the keybindings created in the tmux config making them show up in C-b ? and tmux list-keys -N Fixes #2540
This commit is contained in:
parent
7cf15b19a9
commit
e96fc6d8f9
6 changed files with 30 additions and 22 deletions
|
|
@ -19,8 +19,8 @@ set -g mode-keys emacs
|
|||
|
||||
|
||||
|
||||
bind-key & kill-window
|
||||
bind-key x kill-pane
|
||||
bind-key -N "Kill the current window" & kill-window
|
||||
bind-key -N "Kill the current pane" x kill-pane
|
||||
|
||||
|
||||
setw -g aggressive-resize off
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ setw -g pane-base-index 0
|
|||
|
||||
new-session
|
||||
|
||||
bind v split-window -h
|
||||
bind s split-window -v
|
||||
bind -N "Split the pane into two, left and right" v split-window -h
|
||||
bind -N "Split the pane into two, top and bottom" s split-window -v
|
||||
|
||||
|
||||
set -g status-keys emacs
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@ set -g mode-keys emacs
|
|||
# rebind main key: C-a
|
||||
unbind C-b
|
||||
set -g prefix C-a
|
||||
bind C-a send-prefix
|
||||
bind -N "Send the prefix key through to the application" \
|
||||
C-a send-prefix
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,8 @@ set -g mode-keys emacs
|
|||
# rebind main key: C-a
|
||||
unbind C-b
|
||||
set -g prefix C-a
|
||||
bind a send-prefix
|
||||
bind -N "Send the prefix key through to the application" \
|
||||
a send-prefix
|
||||
bind C-a last-window
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ setw -g pane-base-index 0
|
|||
|
||||
new-session
|
||||
|
||||
bind v split-window -h
|
||||
bind s split-window -v
|
||||
bind -N "Split the pane into two, left and right" v split-window -h
|
||||
bind -N "Split the pane into two, top and bottom" s split-window -v
|
||||
|
||||
|
||||
set -g status-keys vi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue