开发者

Can vi help me with typing my paths?

I would like some help from vi to type long winding system paths, the same way my shells do it for me. I am certain there is a way to it...

linke if I 开发者_如何学JAVAam in a config file and need to type a path

Eggs = /Us|

(the pipe being the cursor), what would I have to do to expand this to /Users/myname/somedir/...


There's a vim script called SuperTab that I think will do what you want.

Quoting the docs (emphasis mine):

Currently super tab can recognize method calls or attribute references via '.', '::' or '->', and file path references containing '/'.


It seems this can be done without a script, Ctrl-X Ctrl-F does it nicely.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜