开发者

Vim command equivalent to TextMate's 'Command+T'/'Go to File'?

I have the directory of a Rails app open in Vim and would like to 'jump' to a particular file through a Vim command.

In TextMate I would type 'Command+T' and then the开发者_如何学Python target destination file name.

Is there a similar command in Vim?

Thanks.


I switched from CommandT to CtrlP. It a bit nicer overall than CommandT and is written in pure vim so it's easy to install (CommandT has ruby dependencies). Check it out here: http://kien.github.com/ctrlp.vim/


There is actually a plugin that emulates this function called Command-T. I use it and I'm very satisfied with it.


There's :e, as well as many plugins that emulate TextMate more closely. Here's one.


I use LustyExplorer as a supercharged alternative (file navigation + buffer navigation + buffer search) to Command-T (which I didn't like).

Also, yesterday I saw a "new" plugin on vim.org called Quicksilver. You might give them a try.


You can use : to access the command-prompt and then use the e command

:e <file name>[enter]

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜