简体   繁体   中英

Select files in vim fuzzy finder without using arrow keys?

I recently discovered the fuzzyfinder plugin for vim. It's CoverageFile functionality is perfect, with one niggling detail.

It will list the files, and the only way I know of to select one of them is to move my hand over to the arrow keys and "key down" to the file and then press .

The entries in the menu have a number beside them, which leads me to believe there's a shortcut for opening the file. The problem is, I can't really find documentation on it. I've pored over some of the docs for fuzzyfinder, but they only describe how to open the selected item in various ways (split, vsplit, tab, etc), not how to actually select the item.

Does anyone know how to do this?

我发现它,它是Control-N / Control-P,有道理:) - Fred 10月27日17:25

You can type out the name of the file as well. This will work like and incremental search, shortening the fuzzyfinder file list until a unique match is found.

The number next to the file name is the buffer number so for example typing :buffer 23 will open buffer 23.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM