summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-04-22 09:35:04 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-04-22 09:35:04 +0100
commit351e96b5faf62aa74e1119bc874e51e1dc73b70b (patch)
tree4556638d569e448e6aac2bd4d8f801c105850667
parenta16570887685c4efaf3fd51efbd16eabc39f39d2 (diff)
tmux vi-mode
-rw-r--r--tmux.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.conf b/tmux.conf
index f34bfca..0d3acd9 100644
--- a/tmux.conf
+++ b/tmux.conf
@@ -7,6 +7,10 @@ unbind C-b
set -g prefix C-Space
bind Space send-prefix
+set-window-option -g mode-keys vi
+bind-key -t vi-copy 'v' begin-selection
+bind-key -t vi-copy 'y' copy-selection
+
set -g @tpm_plugins ' \
tmux-plugins/tpm \
tmux-plugins/tmux-sensible \