Skip to content

Instantly share code, notes, and snippets.

@bora89
Created August 6, 2017 07:54
Show Gist options
  • Save bora89/075476dc0b4afecbb66cc1cab7f24e3a to your computer and use it in GitHub Desktop.
Save bora89/075476dc0b4afecbb66cc1cab7f24e3a to your computer and use it in GitHub Desktop.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment