aboutsummaryrefslogtreecommitdiff
path: root/tmux
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-23 14:01:57 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-23 14:02:16 +1200
commit6c4d2555443bd0dd62125fcb311a88b1db871548 (patch)
tree1b05abf279623156b07698607fc9f540df6809a5 /tmux
parentFix up completions for td(1df) (diff)
downloaddotfiles-6c4d2555443bd0dd62125fcb311a88b1db871548.tar.gz
dotfiles-6c4d2555443bd0dd62125fcb311a88b1db871548.zip
Restore functional copy-mode vi keys
Diffstat (limited to 'tmux')
-rw-r--r--tmux/tmux.conf.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/tmux/tmux.conf.m4 b/tmux/tmux.conf.m4
index ffac0243..3a1d2425 100644
--- a/tmux/tmux.conf.m4
+++ b/tmux/tmux.conf.m4
@@ -41,6 +41,8 @@ bind-key Tab last-pane
# Use the vi mode for tmux interaction behaviour in copy and choice modes
set-window-option -g mode-keys vi
+bind-key -T copy-mode-vi v send -X begin-selection
+bind-key -T copy-mode-vi y send -X copy-selection-and-cancel
# Detach with Alt-M, no prefix required
bind-key -n M-m detach