golang 环境配置 over centos7

it2022-05-09  57

基本编程环境

下载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

 

转载于:https://www.cnblogs.com/Dream-Chaser/p/6536164.html

相关资源:数据结构—成绩单生成器

最新回复(0)