qiukun
V2EX  ›  Vim

[share] set rtp to reduce work

  •  
  •   qiukun · Jun 12, 2012 · 3585 views
    This topic created in 5091 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   ·   4380 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 00:11 · PVG 08:11 · LAX 17:11 · JFK 20:11
    ♥ Do have faith in what you're doing.