Remove vim stuff from Tmux

This commit is contained in:
Max Bucknell 2015-05-09 15:50:07 +01:00
parent e8096c4821
commit 90fa1c04d4

View file

@ -6,11 +6,11 @@ bind-key C-a send-prefix
# smart pane switching with awareness of vim 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-j run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-j) || tmux 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-l run "(tmux display-message -p '#{pane_current_command}' | grep -iq vim && tmux send-keys C-l) || tmux 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-h select-pane -L
bind C-j select-pane -D
bind C-k select-pane -U
bind C-l select-pane -R
bind C-\ select-pane -l
# easily toggle synchronization (mnemonic: e is for echo)
bind e setw synchronize-panes on