Skip to content

Instantly share code, notes, and snippets.

@kennedyj
Created February 10, 2014 18:57
Show Gist options
  • Save kennedyj/8921976 to your computer and use it in GitHub Desktop.
Save kennedyj/8921976 to your computer and use it in GitHub Desktop.
Install Golang Vim files on OS X
mkdir -p $HOME/.vim/ftplugin/go
mkdir -p $HOME/.vim/ftdetect
mkdir -p $HOME/.vim/syntax
mkdir -p $HOME/.vim/autoload/go
# make sure GOROOT is properly set, brew example
# GOROOT == /usr/local/Cellar/go/1.2/
cd $GOROOT/misc/vim
find . -type f -exec cp {} $HOME/.vim/{} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment