Thursday, March 2, 2017

[MAX OSX] If your tmux doesnt allow you to copy text to the clipbord from your vim editor

 If your tmux screws you up, try as follows:


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