tmux: add M-n keys for selecting windows
parent
e2024874be
commit
5522301fc2
|
@ -1,6 +1,6 @@
|
|||
# set up terminal
|
||||
set -g default-terminal "screen-256color"
|
||||
set-option -ga terminal-overrides ",xterm-256color*:Tc:smso=[3m"
|
||||
set -ga terminal-overrides ",xterm-256color*:Tc:smso=[3m"
|
||||
|
||||
# set up status bar
|
||||
set -g status-right '#[bg=#241d29]#{pane_title}'
|
||||
|
@ -25,6 +25,11 @@ bind -n M-Down select-pane -D
|
|||
bind -n M-Left select-pane -L
|
||||
bind -n M-Right select-pane -R
|
||||
bind -n M-Up select-pane -U
|
||||
bind -n M-1 select-window -t0
|
||||
bind -n M-2 select-window -t1
|
||||
bind -n M-3 select-window -t2
|
||||
bind -n M-4 select-window -t3
|
||||
bind -n M-5 select-window -t4
|
||||
|
||||
# set prefix
|
||||
unbind C-b
|
||||
|
|
Loading…
Reference in New Issue