Browse Source

Using vi in tmux selection mode

Signed-off-by: Ein Verne <[email protected]>
pull/4/head
Ein Verne 7 years ago
parent
commit
e685fda230
  1. 4
      tmux/.tmux.conf

4
tmux/.tmux.conf

@ -68,8 +68,12 @@ bind _ split-window -v -c "#{pane_current_path}"
unbind '"' unbind '"'
unbind % unbind %
# in version 2.3 and below https://github.com/tmux/tmux/commit/76d6d3641f271be1756e41494960d96714e7ee58
setw -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'C-v' rectangle-toggle
bind-key -t vi-copy 'y' copy-selection bind-key -t vi-copy 'y' copy-selection
# https://superuser.com/a/693990/298782
# Smart pane switching with awareness of Vim splits. # Smart pane switching with awareness of Vim splits.
# See: https://github.com/christoomey/vim-tmux-navigator # See: https://github.com/christoomey/vim-tmux-navigator

Loading…
Cancel
Save