diff --git a/tmux.conf b/tmux.conf index c584c46..ca1865c 100644 --- a/tmux.conf +++ b/tmux.conf @@ -61,6 +61,9 @@ bind C-p previous-window bind '"' split-window -c '#{pane_current_path}' bind '%' split-window -h -c '#{pane_current_path}' +# Change word separators to better match Vim. +set -g word-separators "<>(){}[]/'\";@*+,.-_=!£$%^&:#~?`¬|\\ " + # Integrate pane selection with vim in_vim='tmux show-window-options | grep -q "@vim#{pane_id}"' bind -n C-h if $in_vim 'send-keys C-h' 'select-pane -L'