在Vim中打开文件的快捷方式 [英] Shortcut to open file in Vim
本文介绍了在Vim中打开文件的快捷方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想使用 Ctrl + Shift + R 或通过 Ctrl + N 自动填充选项.调用键盘快捷键,键入文件名/模式,然后从所有匹配的文件名中进行选择.
I want to open a file in Vim like in Eclipse using Ctrl + Shift + R, or via the Ctrl + N option of autofill. Invoke a keyboard shortcut, type the file name/pattern, and choose from all the matching files names.
我知道通常会像这样打开它:
I know opening it normally like:
:tabe <filepath>
:new <filepath>
:edit <filepath>
这里的问题是,在这种情况下,我必须指定整个文件路径.
The problem here is that I have to specify the whole file path in these cases.
推荐答案
我最近爱上 fuzzyfinder.vim ...:-)
I recently fell in love with fuzzyfinder.vim ... :-)
:FuzzyFinderFile 使您可以通过键入部分名称或模式来打开文件.
:FuzzyFinderFile will let you open files by typing partial names or patterns.
这篇关于在Vim中打开文件的快捷方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文