开发者

Vim Open Resource

开发者 https://www.devze.com 2023-01-07 23:04 出处:网络
When programming in Eclipse I love to use the Open Resource dialog (Ctrl + Shift + R), which opens a simple filter with all the files in the project. My question is: is there so开发者_Python百科methin

When programming in Eclipse I love to use the Open Resource dialog (Ctrl + Shift + R), which opens a simple filter with all the files in the project. My question is: is there so开发者_Python百科mething similar for the Vim editor. Thanks in advance.


The Command-T plugin does something similar:

https://wincent.com/products/command-t

From the developer's description:

Files are selected by typing characters that appear in their paths, and are ordered by an algorithm which knows that characters that appear in certain locations (for example, immediately after a path separator) should be given more weight.

Once you find the file you want, you can open it in the current window, a new window, or a new tab.

See this answer on SuperUser for more details and a simple example:

https://superuser.com/questions/159018/flattened-package-browsing-in-vim/160793#160793


Another plugin is Ctrl-P. It has a similar feature set as command-t.

0

精彩评论

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