# 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'