Golang
Note: Configuration from this KB can be applied through this Ansible playbook.
Go vim autocomplete
Taken from here.
$ cat ~/.vimrc
...
call plug#begin('~/.vim/plugged')
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' }
" Initialize plugin system
call plug#end()
- To invoke autocomplete menu press
<CTRL>+X
and thenCTRL+O
Golang tips
run go program from vim
:GoRun
go micro service rest example