aboutsummaryrefslogtreecommitdiff
path: root/.tmux.conf
diff options
context:
space:
mode:
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 c795ac1..b7961ec 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -55,9 +55,11 @@ bind > resize-pane -R 5
bind - resize-pane -D 5
bind + resize-pane -U 5
+set -s copy-command 'wl-copy'
# copy and paste like vim
- bind -T copy-mode-vi 'v' send -X begin-selection
- bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
+bind -T copy-mode-vi 'v' send -X begin-selection
+bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace wl-copy"
+bind P paste-buffer
if-shell 'test -f "$HOME/.local/.tmux.conf"' 'source ~/.local/.tmux.conf'