diff options
-rw-r--r-- | .tmux.conf | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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' |