The fix in commit 6bd38b874978e96dc2632abf1c98460e908fa6a6 causes tmux to exit immediately when running on Linux, since the reattach-to-user-namespace is specific to MacOS and the binary is therefore not available on Linux. More details at: http://www.economyofeffort.com/2013/07/29/reattach-to-user-namespace-the-fix-for-your-tmux-in-os-x-woes/
5 lines
218 B
Text
5 lines
218 B
Text
# Fix for clipboard in vim running inside tmux:
|
|
# See http://stackoverflow.com/a/40154047
|
|
# See https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard
|
|
set -g default-command "reattach-to-user-namespace -l $SHELL"
|
|
|