Skip to content

Instantly share code, notes, and snippets.

@jerrymarino
Created April 25, 2017 16:41
Show Gist options
  • Save jerrymarino/1c33aa06656cc52b5858c113a6a8fbb7 to your computer and use it in GitHub Desktop.
Save jerrymarino/1c33aa06656cc52b5858c113a6a8fbb7 to your computer and use it in GitHub Desktop.
Setting up vim and tmux on OSX

Upgrade Vim to MacVim

Firstly, install macvim and get the keyboard working

Note: easiest way here is to use macvim from brew

brew install macvim --with-override-system-vim

In .vimrc

set clipboard=unnamed

Setup Tmux multiplexing

Easily command multiple windows like vim

brew install tmux

Get copy and paste working: brew install reattach-to-user-namespace

Links: https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard https://blog.bugsnag.com/tmux-and-vim/

Control tmux from Vim

Install Vimux https://github.com/benmills/vimux

Navigate Tmux panes like vim

https://github.com/christoomey/vim-tmux-navigator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment