colorscheme update + some tmux updates
This commit is contained in:
parent
59daa951f9
commit
3db255cc32
12 changed files with 153 additions and 432 deletions
|
|
@ -1,9 +1,9 @@
|
|||
is_vim="ps -o state= -o comm= -t '#{pane_tty}'| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
TMUX_IS_VIM="ps -o state= -o comm= -t '#{pane_tty}'| grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
|
||||
|
||||
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-key -n M-h if-shell "$TMUX_IS_VIM" "send-keys M-h" "select-pane -L"
|
||||
bind-key -n M-j if-shell "$TMUX_IS_VIM" "send-keys M-j" "select-pane -D"
|
||||
bind-key -n M-k if-shell "$TMUX_IS_VIM" "send-keys M-k" "select-pane -U"
|
||||
bind-key -n M-l if-shell "$TMUX_IS_VIM" "send-keys M-l" "select-pane -R"
|
||||
|
||||
bind-key -T copy-mode-vi M-h select-pane -L
|
||||
bind-key -T copy-mode-vi M-j select-pane -D
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue