vim for galang
2021-03-16 17:30 divl 阅读(58) 评论(0) 编辑 收藏 举报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