tmux: add M-n keys for selecting windows

master
an 2019-09-12 02:36:59 -04:00
parent e2024874be
commit 5522301fc2
1 changed files with 6 additions and 1 deletions

View File

@ -1,6 +1,6 @@
# set up terminal
set -g default-terminal "screen-256color"
set-option -ga terminal-overrides ",xterm-256color*:Tc:smso="
set -ga terminal-overrides ",xterm-256color*:Tc:smso="
# 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