tags:

views:

484

answers:

4

I installed the vim plugin on many different ways. I try to start it with Ctrl-T but what I get is always that error: E492: Not an editor command: FuzzyFinderTextMate

A: 

I'm pretty sure this plugin has lost its original flair. Doesn't seem to work well. Read more: http://weblog.jamisbuck.org/2009/1/28/the-future-of-fuzzyfinder-textmate and https://wincent.com/blog/fuzzyfinder

Karmen Blake
It works well, it just takes some effort to find the versions of every required file that work well together. Have a look at github for fuzzyfinder_textmate and fuzzy_file_finder.rb:http://github.com/jamis/fuzzy_file_finder/networkhttp://github.com/jamis/fuzzyfinder_textmateThe most recent versions work well with FuzzyFinder 2.22.3.
Ton van den Heuvel
+4  A: 

I was getting the same error "E492: Not an editor command: FuzzyFinderTextMate" with OS X 10.6.2. It turns out the default vim installation in Snow Leopard was not compiled with ruby support. Once I recompiled vim with ruby support, the plugin worked as expected.

The installation steps that worked for me:

  1. Compile Vim with Ruby using macports: sudo port install vim +ruby
  2. Download fuzzyfinder.vim 2.16 to ~/.vim/plugin
  3. Download fuzzy_file_finder.rb to ~/.vim/ruby
  4. Download fuzzyfinder_textmate.vim to ~/.vim/plugin
  5. Added the following line to ~/.vimrc: map <C-j> :FuzzyFinderTextMate<CR>

If you run into problems, check the original and update blog posts for help.

Dara Kong
+1  A: 

This worked for me on 10.6.4:

Grab fuzzyfinder.vim and fuzzyfinder_textmate.vim from http://github.com/sethbc/fuzzyfinder_textmate. Drop both of those into ~/.vim/plugin

Then grab fuzzy_file_finder.rb from github.com/jamis/fuzzy_file_finder and drop it into ~/.vim/ruby

In .vimrc, I added:

map <leader>t :FuzzyFinderTextMate<CR>

so "\t" (without the quotes) will launch, though you should map whatever feels best for you (see other answers/comments).

(My apologies for the dearth of links. It seems I lack sufficient reputation to post more than one link.)

George Anderson
A: 

George, thank you so much for posting this. I've been fighting to get this working for some time now, and it works perfectly.

Scott Andreas