diff options
Diffstat (limited to '.tmux-osx.conf')
| -rw-r--r-- | .tmux-osx.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.tmux-osx.conf b/.tmux-osx.conf new file mode 100644 index 0000000..27a3bde --- /dev/null +++ b/.tmux-osx.conf @@ -0,0 +1,4 @@ +# Fix OSX tmux copy issues +# Ref: https://blog.subash.com.au/vim-style-copy-paste-in-tmux/ +set -g default-command "reattach-to-user-namespace -l ${SHELL}" +bind-key -T copy-mode-vi 'y' send-keys -X copy-pipe-and-cancel 'reattach-to-user-namespace pbcopy' |
