Created
November 8, 2015 15:56
-
-
Save ferryzhou/7b44fbc0f566bcc17cc5 to your computer and use it in GitHub Desktop.
vimrc for go
This file contains hidden or 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
execute pathogen#infect() | |
syntax on | |
filetype plugin indent on | |
set number | |
set backspace=2 | |
set t_Co=256 | |
set background=dark | |
colorscheme PaperColor | |
set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab | |
let g:go_disable_autoinstall = 0 | |
" Highlight | |
let g:go_highlight_functions = 1 | |
let g:go_highlight_methods = 1 | |
let g:go_highlight_structs = 1 | |
let g:go_highlight_operators = 1 | |
let g:go_highlight_build_constraints = 1 | |
map <C-n> :NERDTreeToggle<CR> | |
let g:neocomplete#enable_at_startup = 1 | |
let g:neocomplete#enable_auto_select = 1 | |
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment