Skip to content
This repository has been archived by the owner on Jan 7, 2020. It is now read-only.

haibinpark/gorc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gorc

gorc for golang developement envirement

准备环境

新建目录

mkdir ~/.vim mkdir ~/.bin

克隆配置

git clone https://github.com/haibinpark/gorc.vim

安装依赖

go get -u github.com/jstemmer/gotags
go get -u github.com/nsf/gocode
go get -u code.google.com/p/rog-go/exp/cmd/godef go get -u github.com/bradfitz/goimports

初始化配置

git submodule update --init --recursive
git submodule foreach git pull origin master

安装配置

install-gorc.sh

插件管理

添加插件

添加mardown插件
git submodule add git://github.com/tpope/vim-markdown.git bundle/vim-markdown

移除插件

删除go.vim插件

  1. 删除git记录
    git rm bundle/go.vim
  2. 删除文件
    rm bundle/go.vim
  3. 修正.gitmodules
    移除和go.vim相关的内容
  4. 提交修改后的.gitmodules
    git add .gitmodules
    git commit -m "Remove vim plugin go.vim"
  5. 同步submodule
    git submodule sync

使用技巧

参考文章

[Git Submodule 的認識與正確使用][gitsubmodule-link] [gitsubmodule-link]:http://josephjiang.com/entry.php?id=342

[tmux的使用方法和个性化配置][tmux-link] [tmux-link]:http://mingxinglai.com/cn/2012/09/tmux/ 重新载入tmux配置文件的命令: C-b :进入tmux命令模式 :source-file ~/.tmux.config

[Best of VIM Tips, gVIM's Key Features zzapper][vimtips-link] [vimtips-link]:http://www.rayninfo.co.uk/vimtips.html

[配置vim的Go开发环境][vim-golang] [vim-golang]:http://monnand.me/p/vim-golang-environment/zhCN/

[安装配置YouCompleteMe][vim-ycm] [vim-ycm]:https://github.com/Valloric/YouCompleteMe 具体的安装方法也比较简单,这里以ubuntu为例: sudo apt_get install cmake python-dev
sudo ./install.sh --clang-completer

About

gorc for golang developement envirement

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published