Browse Source

Update tmux config > 2.4

pull/4/head
Ein Verne 5 years ago
parent
commit
0c03e5a5de
No known key found for this signature in database
GPG Key ID: F80B65F734D9DD7D
  1. 8
      tmux/.tmux.conf

8
tmux/.tmux.conf

@ -12,7 +12,7 @@ set -s focus-events on
# set -g prefix2 C-a
# bind C-a send-prefix -2
set -q -g status-utf8 on
#set -q -g status-utf8 on
setw -q -g utf8 on
# edit configuration
@ -87,9 +87,9 @@ bind Down last-window \; swap-pane -s tmp. \; kill-window -t tmp
# 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 'C-v' rectangle-toggle
bind-key -t vi-copy 'y' copy-selection
bind-key -T copy-mode-vi 'v' send -X begin-selection # Begin selection in copy mode.
bind-key -T copy-mode-vi 'C-v' send -X rectangle-toggle # Begin selection in copy mode.
bind-key -T copy-mode-vi 'y' send -X copy-selection # Yank selection in copy mode.
# https://superuser.com/a/693990/298782
# Smart pane switching with awareness of Vim splits.

Loading…
Cancel
Save