码迷,mamicode.com
首页 > 系统相关 > 详细

vim for galang

时间:2021-03-17 14:46:30      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:one   require   roo   dde   load   alt   export   oca   ati   

1. Install git 
    yum install git

2. Install Vundle.vim 
    2.1 mkdir ~/.vim/bundle
    2.2 git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim

3. vim ~/.vimrc

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()

" let Vundle manage Vundle, required
Plugin ‘gmarik/Vundle.vim‘

" All of your Plugins must be added before the following line
call vundle#end()            " required
filetype plugin indent on    " required

4. Install Vim-go

  技术图片

 

 技术图片

 

 技术图片

 

 

5. vim /etc/profile
export PATH=$PATH:/usr/local/go/bin
export GOPATH=/opt/go_workspace
export GOROOT=/usr/local/go

6.  :GoInstallBinaries

  

vim for galang

标签:one   require   roo   dde   load   alt   export   oca   ati   

原文地址:https://www.cnblogs.com/divl/p/14544777.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!