aboutsummaryrefslogtreecommitdiffstats
path: root/.tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to '.tmux.conf')
-rw-r--r--.tmux.conf8
1 files changed, 6 insertions, 2 deletions
diff --git a/.tmux.conf b/.tmux.conf
index a6f397b..e7265b0 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -130,8 +130,12 @@ bind -n C-j previous-window
# bind -r C-l select-pane -R
setw -g mode-keys vi
bind [ copy-mode
-bind -T copy-mode-vi 'v' send -X begin-selection
-bind -T copy-mode-vi 'y' send -X copy-selection-and-cancel
+# bind -T copy-mode-vi 'v' send -X begin-selection
+# set -s copy-command 'wl-copy'
+set -s copy-command 'xsel -ib'
+bind -T copy-mode-vi 'v' send -X copy-pipe
+bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel
+# bind -T copy-mode-vi 'y' send -X copy-selection-and-cancel "xsel -i --clipboard"
#bind -T copy-mode-vi 'V' rectangle-toggle
bind ] paste-buffer
bind Space choose-buffer