add tmux bindings for windows

This commit is contained in:
hophacker 2020-04-07 11:33:55 +08:00
parent 822ebc9107
commit 62a35ec77e
2 changed files with 7 additions and 1 deletions

View File

@ -27,6 +27,12 @@ bind -n C-h if-shell "$is_vim" "send-keys C-h" "select-pane -L"
bind -n C-j if-shell "$is_vim" "send-keys C-j" "select-pane -D"
bind -n C-k if-shell "$is_vim" "send-keys C-k" "select-pane -U"
bind -n C-l if-shell "$is_vim" "send-keys C-l" "select-pane -R"
bind -n C-Left if-shell "$is_vim" "send-keys C-h" "select-pane -L"
bind -n C-Down if-shell "$is_vim" "send-keys C-j" "select-pane -D"
bind -n C-Up if-shell "$is_vim" "send-keys C-k" "select-pane -U"
bind -n C-Right if-shell "$is_vim" "send-keys C-l" "select-pane -R"
bind -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"
# Use vi keybindings for tmux commandline input.

View File

@ -44,5 +44,5 @@ if [ -e ~/Projects/paiyou-hub/bin/rancher_setup.sh ]; then
source ~/Projects/paiyou-hub/bin/rancher_setup.sh
fi
[ -e ~/Projects/paiyou-hub/.myzshrc ] && source ~/Projects/paiyou-hub/.myzshrc
[ -e ~/Projects/quanzhan/.myzshrc ] && source ~/Projects/quanzhan/.myzshrc