golang 环境配置 over centos7
基本编程环境
下载go1.8压缩包,解压后存放至目录~/work/下。
编辑~/.bashrc,添加如下三行在尾部
执行
source ~/.bashrc
配置vim + go
下载Vundle
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
编辑.vimrc
set nocompatible filetype off set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' Plugin 'fatih/vim-go' call vundle#end() filetype plugin indent on set nu
执行
vim +PluginInstall +qall