Skip to content

Instantly share code, notes, and snippets.

@foolusion
Created December 19, 2016 18:51
Show Gist options
  • Save foolusion/620b0b8b29c1e24e49f204f47afe4dd2 to your computer and use it in GitHub Desktop.
Save foolusion/620b0b8b29c1e24e49f204f47afe4dd2 to your computer and use it in GitHub Desktop.
call plug#begin('~/.vim/plugged')
Plug 'fatih/vim-go'
Plug 'scrooloose/syntastic'
Plug 'altercation/vim-colors-solarized'
Plug 'nsf/gocode',{ 'rtp': 'vim' }
Plug 'shougo/neocomplete.vim'
call plug#end()
noremap h k
noremap k j
noremap j h
set dir=/tmp
set backupdir=/tmp
let g:go_fmt_command = "goimports"
let g:neocomplete#enable_at_startup = 1
set background=dark
colorscheme solarized
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment