I need to setup vim-youcompleteme to get real-time completion for write Golang code.
Assuming that this part has been completed first:
$ cd ~/.vim/bundle
$ git clone https://github.com/fatih/vim-go.github
Here’s how vim-youcompleteme is installed/enabled on Ubuntu 14.04:
$ sudo apt-get install vim-addon-manager vim-youcompleteme
$ vam install youcompleteme
Note: vam
is short for the vim-addon-manager
.
Reference: