summaryrefslogtreecommitdiffstats
path: root/.tmux.conf
diff options
context:
space:
mode:
authorTyler Davis <tydavis@gmail.com>2020-04-17 18:25:10 +0000
committerTyler Davis <tydavis@gmail.com>2020-04-17 18:25:10 +0000
commit193c7797be154d8f049e40ea638069511aec5685 (patch)
treefcf65157920bd602a8444ea8d8814d237a5b2853 /.tmux.conf
parent57f328c0a14588d70bb04b194689d2a7eb9946ea (diff)
downloaddotfiles-193c7797be154d8f049e40ea638069511aec5685.tar.gz
dotfiles-193c7797be154d8f049e40ea638069511aec5685.zip
fix(tmux): Proper copy paste commands
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 0c66d06..54dba91 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -3,5 +3,7 @@ set -sg escape-time 100
set-option -g default-terminal "screen-256color"
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
+bind P paste-buffer
+bind-key -T copy-mode-vi v send-keys -X begin-selection
+bind-key -T copy-mode-vi y send-keys -X copy-selection
+bind-key -T copy-mode-vi r send-keys -X rectangle-toggle