summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-05-08 16:35:33 -0400
committerJune McEnroe <programble@gmail.com>2017-05-08 16:37:30 -0400
commite798c5cfd363638ab545aa7939d9c1641904f04e (patch)
tree0f1c2a69eb4ed4a3e325830128433eb0f439d720
parentRemove option unnecessary in nvim 0.2 (diff)
downloadsrc-e798c5cfd363638ab545aa7939d9c1641904f04e.tar.gz
src-e798c5cfd363638ab545aa7939d9c1641904f04e.zip
Fix copy mode bindings for tmux 2.4
Incompatible change that makes no sense to me.
-rw-r--r--.tmux.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/.tmux.conf b/.tmux.conf
index c0343d31..b47a8414 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -28,10 +28,10 @@ bind -r + resize-pane -D 1
 
 bind p paste-buffer
 bind Escape copy-mode
-bind -t vi-copy i cancel
-bind -t vi-copy v begin-selection
-bind -t vi-copy C-v rectangle-toggle
-bind -t vi-copy y copy-selection
+bind -T copy-mode-vi i send -X cancel
+bind -T copy-mode-vi v send -X begin-selection
+bind -T copy-mode-vi C-v send -X rectangle-toggle
+bind -T copy-mode-vi y send -X copy-selection
 
 set -g status-position top
 set -g status-style bg=black,fg=white