Question

I really like vim's fuzzyfinder plugin, but I often find myself wanting to open more than one file at a time (eg. every file that ends in ".py" within a directory). I can't see a way to do this in the docs, but is anyone aware of a way to do this?

Alternately, are there any other "fuzzy" file opening plugins with a comparable feature set that have this ability?

Was it helpful?

Solution

ctrlp.vim is an alternative fuzzy file finder that fully supports marking and opening those marked files.

Use CTRL-Z to mark/unmark files and CTRL-O to open marked files.

OTHER TIPS

You don't need a plug-in to do this.

:args *.py

See :help :args_f for more information.

See the explanation here --> http://www.infoanda.com/resources/find.htm

vim `find include src -name \*.[ch] -mtime -3 -print | xargs`

Fuzzy finder(fzf.vim) has it too, ctrl-t in fzf_action for example:

https://github.com/junegunn/fzf/blob/master/README-VIM.md

Dunno yet why it doesn't work for the Ag/Rg options though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top