ubuntu14.04上安装vim-go的开发环境

  

ubuntu版本:
 ubuntu14.04上安装vim-go的开发环境”> <br/>内核版本:<br/> <img src=

  
 <代码> vim-go的安装:
  https://github.com/fatih/vim-go
  1. 升级vim,这个版本的ubuntu的vim版本太低了
  sudo apt-get安装software-properties-common
  sudo add-apt-repository ppa: jonathonf/vim
  sudo apt更新
  sudo apt安装vim
  
  2. 安装go1.12
  3.安装git: apt-get安装git - y
  4. 安装Vundle https://github.com/VundleVim/Vundle.vim
  一。创建目录:~/.vim/包/Vundle.vim
  b . git克隆https://github.com/VundleVim/Vundle.vim.git ~/.vim/包/Vundle.vim
  c。更改。vimrc,按照上面的git链接来,这里对于插件只保留了插件' VundleVim/Vundle.vim '
  d。打开vi,键入:PluginInstall
  5. 安装vim-go https://github.com/fatih/vim-go
  一。因为已经升级到vim8了,可以用Vundle安装,也可以直接git,参考上面链接的安装部分
  b。采用Vundle安装:
  1)在。vimrc里添加一行插件“fatih/vim-go”
  2)打开vi执行:PluginInstall,安装完成后如下图,可以看到装了2个插件 
  

 ubuntu14.04上安装vim-go的开发环境”> <br/> 3)打开vi,执行:GoInstallBinaries,因为网络原因,会有部分包装不上<br/> <img src=ubuntu14.04上安装vim-go的开发环境