Clipboard failure in tmux + vim after upgrading to MacOS Sierra

后端 未结 3 468
慢半拍i
慢半拍i 2021-01-31 08:17

Yesterday, I upgraded to MacOS Sierra and it broke my clipboard functionality in my tmux + neovim setup.

Here is the behavior:

  • I can use the standard ctrl+
3条回答
  •  灰色年华
    2021-01-31 08:38

    Upgrading brew + vim + tmux fixed this for me:

    brew update
    brew upgrade vim
    brew upgrade tmux
    

    Notes:

    • I am not using Neovim but hopefully this will help anyway
    • This may take a while depending on how slow your machine is
    • When I did this brew upgraded ruby for me and it complained that it wouldn't overwrite the existing symlinks so I had to manually run: brew link --overwrite ruby
    • Tmux complained about the following setting after the upgrade. I just commented it out: # set-option -g status-utf8 on
    • I had a warning about needing the new xcode tools so I ran the following and accepted the GUI prompts: xcode-select --install (In hindsight this may mess up my react-native install :/. Buyer beware)
    • When first running brew update brew complained it didn't have write access to /usr/local so I made myself the owner of /usr/local NON-RECURSIVE. After the update brew told me I could change the owner back to root:wheel.

提交回复
热议问题