about summary refs log tree commit diff stats
path: root/core/conf/skel
diff options
context:
space:
mode:
authorSilvino Silva <silvino@bk.ru>2018-04-06 17:43:58 +0100
committerSilvino Silva <silvino@bk.ru>2018-04-06 17:43:58 +0100
commit6ee060f04bdd91b66b8dfaa21f29758ae450348f (patch)
tree0ce231727fdbe28bc1ed64546be93f1ee988d7b6 /core/conf/skel
parent746c2f76a305d4251f58f3327f8147f60a1be38f (diff)
parent152177eeca633a26a1228cfded025b5a7d861c66 (diff)
downloaddoc-6ee060f04bdd91b66b8dfaa21f29758ae450348f.tar.gz
Merge branch 'r-0.3.3' into develop
Diffstat (limited to 'core/conf/skel')
-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'