addet nice keybindings with right-alt
This commit is contained in:
parent
7e79fd72af
commit
9aad93c163
1 changed files with 13 additions and 6 deletions
19
tmux.conf
19
tmux.conf
|
@ -13,9 +13,9 @@ set -g mouse on
|
|||
# Set the prefix key to C-Space instead of default C-b
|
||||
unbind C-b
|
||||
|
||||
unbind C-q
|
||||
unbind C-w
|
||||
unbind C-e
|
||||
# unbind C-q
|
||||
# unbind C-w
|
||||
# unbind C-e
|
||||
|
||||
# ─< set the prefix to "C-Space" >────────────────────────────────────────────────────────
|
||||
set -g prefix C-Space
|
||||
|
@ -26,9 +26,16 @@ set -g visual-activity on
|
|||
set -g visual-bell on
|
||||
set -g status-keys vi
|
||||
|
||||
bind-key -n C-q select-window -t :1
|
||||
bind-key -n C-w select-window -t :2
|
||||
bind-key -n C-e select-window -t :3
|
||||
# bind-key -n Tab previous-window
|
||||
# bind-key -n BTab next-window
|
||||
|
||||
# right alt + [ 1, 2, 3, 4, 5, 6 ]
|
||||
bind-key -n ¹ select-window -t :1
|
||||
bind-key -n ² select-window -t :2
|
||||
bind-key -n ³ select-window -t :3
|
||||
bind-key -n ¼ select-window -t :4
|
||||
bind-key -n ½ select-window -t :5
|
||||
bind-key -n ¬ select-window -t :6
|
||||
|
||||
# ─< set v for starting selection in copy mode >──────────────────────────────────────────
|
||||
bind -T copy-mode-vi v send -X begin-selection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue