bora89
8/6/2017 - 7:54 AM

MacOS clipboard for VIM & Tmux

MacOS clipboard for VIM & Tmux

brew install reattach-to-user-namespace
# in .tmux.conf
set-option -g default-command "reattach-to-user-namespace -l zsh"

# restart tmux
tmux kill-server

# in .vimrc
set clipboard=unnamed