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 # https://github.com/tmux/tmux/wiki/FAQ
# Change prefix key # Split panes using | and -
set -g prefix C-a bind | split-window -h
unbind C-b bind - split-window -v
bind C-a send-prefix
# 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 # Color
set -g default-terminal "tmux-256color" set -g default-terminal "tmux-256color"