Created
February 10, 2014 18:57
-
-
Save kennedyj/8921976 to your computer and use it in GitHub Desktop.
Install Golang Vim files on OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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