Restore ability to toggle block selection with V.
dblume

dblume commited on 2022-07-22 18:04:14
Showing 1 changed files, with 5 additions and 4 deletions.

... ...
@@ -3,7 +3,7 @@ set -g prefix C-a
3 3
 unbind C-b
4 4
 bind C-a send-prefix
5 5
 # Make ^a a send ^a (Useful in minicom)
6
-bind-key a send-prefix
6
+bind a send-prefix
7 7
 
8 8
 # No delay for escape key press (vim mode changes)
9 9
 set -sg escape-time 0
... ...
@@ -12,11 +12,12 @@ set -sg escape-time 0
12 12
 # From https://dev.to/iggredible/the-easy-way-to-copy-text-in-tmux-319g
13 13
 # See https://ianthehenry.com/posts/how-to-configure-tmux/ for copy-pipe tips.
14 14
 bind -T copy-mode-vi v send -X begin-selection
15
-bind -T copy-mode-vi y send-keys -X copy-selection-and-cancel
15
+bind -T copy-mode-vi V send -X rectangle-toggle
16
+bind -T copy-mode-vi y send -X copy-selection-and-cancel
16 17
 
17 18
 # Vim style pane splitting
18
-bind-key v split-window -h
19
-bind-key s split-window -v
19
+bind v split-window -h
20
+bind s split-window -v
20 21
 
21 22
 # Vim style pane selection
22 23
 bind h select-pane -L
23 24