commit 2ab73713d66033e26a684a9c3f366db24dc27407 parent fe237b776c87b854b2391a037bc7c33f6d2bd091 Author: Anders Damsgaard <andersd@riseup.net> Date: Sun, 2 Jul 2017 13:03:17 +0200 fix copy binding for osx Diffstat:
M | .tmux.conf | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.tmux.conf b/.tmux.conf @@ -28,7 +28,7 @@ bind-key -T copy-mode-vi v send-keys -X begin-selection # Copy if-shell 'uname | grep -qi Linux && which xclip > /dev/null' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "DISPLAY=:0 xclip -i -sel clipboard"' -if-shell 'uname | grep -qi Darwin && which reattach-to-user-namespace > /dev/null' 'bind-key -T copy-mode-vi y copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"' +if-shell 'uname | grep -qi Darwin && which reattach-to-user-namespace > /dev/null' 'bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"' # Paste if-shell 'uname | grep -qi Linux && which xclip > /dev/null' 'bind p run "DISPLAY=:0 xclip -o | tmux load-buffer - ; tmux paste-buffer"'