Ⅰ. 插件描述
vim-pathogen bundle for golang syntax highlightingⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'geekq/vim-go-the-story-of-us'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'geekq/vim-go-the-story-of-us'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'geekq/vim-go-the-story-of-us'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/geekq/vim-go
Ⅳ. 文档说明
vim-go
vim-pathogen bundle for golang syntax highlighting
Ubuntu 12.04 comes with prebuilt packages for go and go syntax
- You can install easily with
sudo apt-get install golang
Unfortunately, the vim highlighting is not activated by default. If you
already have got vim-pathogen,
you can just use following commands:
Installation
cd ~/.vim/bundle
git clone git://github.com/geekq/vim-go.git
Credits
Based on the instructions from
this blog
See also
@ftharsln created a full featured golang vim IDE
with identical ;-) name. Give it a try if you are looking for an IDE!