Alexey Romanov
Alexey Romanov

Reputation: 170745

Is there a Vim plug-in similar to fuzzyfinder_textmate and Command-T which does _not_ require Ruby support?

Both of these plugins require Vim to be compiled with Ruby support, need to be compiled themselves using the same version of Ruby, etc. Is there a plugin which does the same job, but doesn't require installation other than dropping it into vimfiles directory?

UPDATE: These plugins allow to open files/buffers by typing characters which appear in their path, not necessarily in a row. I.e. if your directory has files

foo/bar.txt
foo/baz.vim
zee.c

you can type

,t f

and only two matching files are shown; after you add r, only one file is left and it can be opened by pressing <Return>.

Upvotes: 3

Views: 567

Answers (5)

Yggdroot
Yggdroot

Reputation: 519

If you don't mind python dependency, LeaderF is a good choice. The performance on large project appears very well compared with some similar plugins.

Upvotes: 0

Kyle Heironimus
Kyle Heironimus

Reputation: 8041

ctrlp is a good one. It's used a lot, if for no other reason than it's in janus.vim

Upvotes: 1

skeept
skeept

Reputation: 12413

I used LustyExplorer which provides similar functionality to the plugins you mention. Unfortunately it also requires ruby.

Later I started using LycosaExplorer which is based on LustyExplorer but uses python instead of ruby. I prefer this one to LustyExplorer because I cannot compile vim against ruby in windows and with python I can do it fine.

Recently I started using ctrlp.vim which also allows you to do something similar to what you request and doesn't require external depedencies (ruby or python). It seems to me that it is slower than LycosaExplorer on folders with a large number of files.

Upvotes: 3

Minimul
Minimul

Reputation: 4205

Using the latest fuzzyfinder vim plugin you can use

:FufCoverageFile

to mimic the global search features of fuzzyfinder_textmate and Command-T. No ruby needed.

Need also to have vim >= 7.2

Upvotes: 3

Luc Hermitte
Luc Hermitte

Reputation: 32956

There are a few plugins in this same thematics. fuzzyfinder may be the most ergonomic though.

I've listed some of them on the description page of searchInRuntime (that also helps opening files)

HTH.

Upvotes: 1

Related Questions