about summary refs log tree commit diff stats
path: root/core/conf/skel/.tmux.conf
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2018-04-06 17:41:00 +0100
committerSilvino Silva <silvino@bk.ru>2018-04-06 17:41:00 +0100
commit8ee63f12e337f97013cfa3cb3d3b27f15f88dfcd (patch)
tree0ce231727fdbe28bc1ed64546be93f1ee988d7b6 /core/conf/skel/.tmux.conf
parent6bf0c99f1320e117663e34221837c6fe22f75e6f (diff)
parent152177eeca633a26a1228cfded025b5a7d861c66 (diff)
downloaddoc-8ee63f12e337f97013cfa3cb3d3b27f15f88dfcd.tar.gz
Release 0.3.3
Diffstat (limited to 'core/conf/skel/.tmux.conf')
-rw-r--r--core/conf/skel/.tmux.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/conf/skel/.tmux.conf b/core/conf/skel/.tmux.conf
index a68ccb2..4feb9a4 100644
--- a/core/conf/skel/.tmux.conf
+++ b/core/conf/skel/.tmux.conf
@@ -1,6 +1,9 @@
 set -g default-terminal "screen-256color"
 
 set-window-option -g mode-keys vi
+bind-key -T copy-mode-vi 'v' send-keys -X begin-selection
+bind-key -T copy-mode-vi 'y' send-keys -X copy-selection-and-cancel
+
 
 # Vim style
 # copy tmux's selection buffer into the primary X selection with PREFIX+CTRL+Y
@@ -8,9 +11,6 @@ bind-key u run "tmux save-buffer - | xsel -ib"
 # copy primary X selection into tmux's selection buffer with PREFIX+CTRL+P
 bind-key e run "xsel -o | tmux load-buffer -"
 
-bind-key -t vi-copy 'v' begin-selection
-bind-key -t vi-copy 'y' copy-selection
-
 set-option -g set-titles on
 set-option -g set-titles-string '#S> #I.#P #W'