Remove vim stuff from Tmux
This commit is contained in:
parent
e8096c4821
commit
90fa1c04d4
1 changed files with 5 additions and 5 deletions
|
@ -6,11 +6,11 @@ bind-key C-a send-prefix
|
||||||
# smart pane switching with awareness of vim splits
|
# smart pane switching with awareness of vim splits
|
||||||
#
|
#
|
||||||
# See: https://robots.thoughtbot.com/seamlessly-navigate-vim-and-tmux-splits
|
# See: https://robots.thoughtbot.com/seamlessly-navigate-vim-and-tmux-splits
|
||||||
bind C-h run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-h) || tmux select-pane -L"
|
bind C-h select-pane -L
|
||||||
bind C-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux select-pane -D"
|
bind C-j select-pane -D
|
||||||
bind C-k run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-k) || tmux select-pane -U"
|
bind C-k select-pane -U
|
||||||
bind C-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux select-pane -R"
|
bind C-l select-pane -R
|
||||||
bind C-\ run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys 'C-\\') || tmux select-pane -l"
|
bind C-\ select-pane -l
|
||||||
|
|
||||||
# easily toggle synchronization (mnemonic: e is for echo)
|
# easily toggle synchronization (mnemonic: e is for echo)
|
||||||
bind e setw synchronize-panes on
|
bind e setw synchronize-panes on
|
||||||
|
|
Loading…
Add table
Reference in a new issue