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-02-25 17:33:12 +0000
committerSilvino Silva <silvino@bk.ru>2018-02-25 17:33:12 +0000
commitef1f1f61daaf59d3e07d41ddd0ea713834f35e38 (patch)
tree5a34c6b419adc87a7887db8d2e6d25119e5434c3 /core/conf/skel/.tmux.conf
parent080558ffff535c438d6244ff17a5d106622c754e (diff)
downloaddoc-ef1f1f61daaf59d3e07d41ddd0ea713834f35e38.tar.gz
core install revision
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'