Remove tmux-navigator

This commit is contained in:
2019-10-23 11:47:08 +00:00
parent 801857a500
commit 42ccd68d0f
2 changed files with 6 additions and 31 deletions

View File

@@ -6,21 +6,6 @@ bind C-l send-keys 'C-l'
bind r source ~/.tmux.conf\; display "~/.tmux.conf sourced!"
# Smart pane switching with awareness of Vim splits.
# See: https://github.com/christoomey/vim-tmux-navigator
# is_vim="ps -o state= -o comm= -t '#{pane_tty}' | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
# bind-key -n C-Left if-shell "$is_vim" "send-keys C-Left" "select-pane -L"
# bind-key -n C-Down if-shell "$is_vim" "send-keys C-Down" "select-pane -D"
# bind-key -n C-Up if-shell "$is_vim" "send-keys C-Up" "select-pane -U"
# bind-key -n C-Right if-shell "$is_vim" "send-keys C-Right" "select-pane -R"
# bind-key -n C-backspace if-shell "$is_vim" "send-keys C-Backspace" "select-pane -l"
# bind-key -T copy-mode-vi C-Left select-pane -L
# bind-key -T copy-mode-vi C-Down select-pane -D
# bind-key -T copy-mode-vi C-Up select-pane -U
# bind-key -T copy-mode-vi C-Right select-pane -R
# bind-key -T copy-mode-vi C-Backspace select-pane -l
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'