vim-go安装
来源:互联网 发布:外国网民评论中国知乎 编辑:程序博客网 时间:2024/05/16 11:09
第一步:安装Vundle
根据Vundle的安装说明,首先安装Vundle:
$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
然后对.vimrc进行配置,将Vundle的相关配置置在最开始处,下面只显示关于Vundle的相关配置:
对.vimrc进行配置,将Vundle的相关配置置在最开始处,下面只显示关于Vundle的相关配置(详细参考Vundle的README.MD):- " -------------
- " Vundle
- " https://github.com/gmarik/Vundle.vim
- " -------------
- 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()
- " alternatively, pass a path where Vundle should install plugins
- "call vundle#begin('~/some/path/here')
- " let Vundle manage Vundle, required
- Plugin 'gmarik/Vundle.vim'
- " The following are examples of different formats supported.
- " Keep Plugin commands between vundle#begin/end.
- " plugin on GitHub repo
- ""Plugin 'tpope/vim-fugitive'
- " plugin from http://vim-scripts.org/vim/scripts.html
- ""Plugin 'L9'
- " Git plugin not hosted on GitHub
- ""Plugin 'git://git.wincent.com/command-t.git'
- " git repos on your local machine (i.e. when working on your own plugin)
- ""Plugin 'file:///home/gmarik/path/to/plugin'
- " The sparkup vim script is in a subdirectory of this repo called vim.
- " Pass the path to set the runtimepath properly.
- ""Plugin 'rstacruz/sparkup', {'rtp': 'vim/'}
- " Avoid a name conflict with L9
- ""Plugin 'user/L9', {'name': 'newL9'}
- " Install Vim-go
- Plugin 'fatih/vim-go'
- " All of your Plugins must be added before the following line
- call vundle#end() " required
- filetype plugin indent on " required
- " To ignore plugin indent changes, instead use:
- "filetype plugin on
- "
- " Brief help
- " :PluginList - lists configured plugins
- " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
- " :PluginSearch foo - searches for foo; append `!` to refresh local cache
- " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
- "
- " see :h vundle for more details or wiki for FAQ
- " Put your non-Plugin stuff after this line
git clone https://github.com/fatih/vim-go.git ~/.vim/bundle/vim-go
注意路径在上述~/.vimrc里增加下面一行。
Plugin 'fatih/vim-go' 注意这个语句的添加位置(不是添加到最后,看看上面的例子)
0 0
- vim-go安装
- GO语言安装及vim-go的配置
- vim 安装vim-go 打造GOLANG 专用IDE
- Vim - Go
- vim go
- go and vim-go
- linux 安装sublime3 配置GO环境,启动VIM
- vim安装go插件vim-go和gocode,支持代码高亮、代码提示和语法检查等功能
- GoLang之再谈Gvim/Vim配置——使用Vundle安装vim-go
- GoLang之再谈Gvim/Vim配置——使用Vundle安装vim-go
- Vim plugins for Go
- vim+go环境配置
- 配置go语言vim
- vim+go配置
- Go 安装
- Go安装
- Go 安装
- go安装
- java入门学习(2)—基本数据类型
- 深入研究socket编程(1)-----socket之TCP回射服务器/客户端程序
- Codeforces Round #338 (Div. 2) D. Multipliers
- 优秀博客网址
- LOD原理
- vim-go安装
- C++编译链接过程
- JAVA 静态成员不具有多态性
- The art of computer programming Donald E. Knuth volumn one third edition读书笔记2-1
- C#的Socket实现UDP协议通信
- Objective-C 7 NSArray常用方法
- Activity中的Intent的用法
- Utral Edit中打开多个文件标签
- C/C++编译链接过程详解