1. Install the following:
brew install reattach-to-user-namespace
2. Add this on ~/.tmux.conf:
set-option -g default-command "reattach-to-user-namespace -l zsh"
3. Then add the following on ~/.vimrc:
set clipboard+=unnamed
4. Reboot your computer.
https://robots.thoughtbot.com/how-to-copy-and-paste-with-tmux-on-mac-os-x
No comments:
Post a Comment