tmux hjkl and zsh
This commit is contained in:
@@ -23,6 +23,9 @@ set -g set-clipboard on
|
||||
set -g history-limit 20000
|
||||
set -g focus-events on
|
||||
|
||||
# terminal
|
||||
set-option -g default-shell /bin/zsh
|
||||
|
||||
# screen colors
|
||||
set-option -ga terminal-overrides ",*-256color*:Tc"
|
||||
|
||||
@@ -150,6 +153,10 @@ bind-key -n M-h if-shell "$is_vim" "send-keys M-h" "select-pane -L"
|
||||
bind-key -n M-j if-shell "$is_vim" "send-keys M-j" "select-pane -D"
|
||||
bind-key -n M-k if-shell "$is_vim" "send-keys M-k" "select-pane -U"
|
||||
bind-key -n M-l if-shell "$is_vim" "send-keys M-l" "select-pane -R"
|
||||
bind M-h "select-pane -L"
|
||||
bind M-j "select-pane -D"
|
||||
bind M-k "select-pane -U"
|
||||
bind M-l "select-pane -R"
|
||||
#bind-key -n M-\ if-shell "$is_vim" "send-keys M-\\" "select-pane -l"
|
||||
bind-key -T copy-mode-vi M-h select-pane -L
|
||||
bind-key -T copy-mode-vi M-j select-pane -D
|
||||
|
||||
Reference in New Issue
Block a user