Config dev go

This commit is contained in:
Meutel 2017-08-01 12:32:15 +02:00
parent dc98f73a51
commit d72a0227d1
1 changed files with 5 additions and 0 deletions

5
_vimrc
View File

@ -8,6 +8,8 @@ call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree.git'
Plugin 'bling/vim-airline'
Plugin 'vim-jp/vim-go-extra'
Plugin 'fatih/vim-go'
Bundle 'chase/vim-ansible-yaml'
" }}}
@ -127,3 +129,6 @@ call vundle#end() " required
filetype plugin indent on " required
" }}}
" Go auto-format
autocmd FileType go autocmd BufWritePre <buffer> Fmt
nnoremap <Leader>i :GoImports<cr>