Skip to content

Instantly share code, notes, and snippets.

@sangheestyle
Created July 26, 2015 18:34
Show Gist options
  • Save sangheestyle/996c12dad95236ec6de2 to your computer and use it in GitHub Desktop.
Save sangheestyle/996c12dad95236ec6de2 to your computer and use it in GitHub Desktop.
Vim for go programming on mac

How to

Steps

For neocomplete

brew uninstall vim
brew install luajit
brew install vim --with-lua
brew uninstall macvim
brew install macvim --with-cscope --with-lua --HEAD

My .vimrc

execute pathogen#infect()

set nocompatible
set backspace=indent,eol,start
colorscheme molokai

syntax enable
filetype indent plugin on
set number
let g:go_disable_autoinstall = 0
let g:neocomplete#enable_at_startup = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment