5

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?

af__
  • 155
  • 1
  • 6
  • 2
    Looks like we have to implement it by ourselves. Did you see this issue https://bitbucket.org/ns9tks/vim-fuzzyfinder/issue/35/possibility-to-open-more-files-at-once – galymzhan Jan 05 '11 at 10:04

4 Answers4

3

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

:args *.py

See :help :args_f for more information.

johnsyweb
  • 136,902
  • 23
  • 188
  • 247
  • 1
    Thanks, that does help, but ideally I'd like to combine it with "fuzzy" filename matching. For example, to open code/my_project/{file1,file2,file3}.py, I'd like to be able to type "cpr*.py" and have all 3 files open. If I can't find a way to do that, args does look like a nice compromise. – af__ Sep 26 '10 at 06:52
3

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.

suhair
  • 10,895
  • 11
  • 52
  • 63
0

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.

DZet
  • 539
  • 3
  • 10
0

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

vim `find include src -name \*.[ch] -mtime -3 -print | xargs`
SergioAraujo
  • 11,069
  • 3
  • 50
  • 40