qiukun
V2EX  ›  Vim

[share] set rtp to reduce work

  •  
  •   qiukun · Jun 12, 2012 · 3575 views
    This topic created in 5085 days ago, the information mentioned may be changed or developed.
    go 和 gocode 都自带 vim 的配置,其中在 go/misc/vim 中提到可以设置 set rtp+= directory 来导入那些设置,这个操作避免了复制,兼顾了升级,当然,如果修改了,还是应该放在 $HOME/vim

    eg.
    " go
    set rtp+=$GOROOT/misc/vim,$GOROOT/src/pkg/github.com/nsf/gocode/vi
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2889 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 12:09 · PVG 20:09 · LAX 05:09 · JFK 08:09
    ♥ Do have faith in what you're doing.