chore(config): use back C-b for tmux

main
Tran Hau 2021-03-19 03:03:54 +00:00
parent 4d4ff1d2a2
commit 277526eb37
1 changed files with 9 additions and 4 deletions

View File

@ -1,9 +1,14 @@
# https://github.com/tmux/tmux/wiki/FAQ
# Change prefix key
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Split panes using | and -
bind | split-window -h
bind - split-window -v
# Switch panes using Alt without prefix
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# Color
set -g default-terminal "tmux-256color"