Tranquility
Tranquility

Reputation: 33

vim plugin FuzzyFinderTextMate error

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

Upvotes: 3

Views: 1263

Answers (4)

Karmen Blake
Karmen Blake

Reputation: 3436

command-t is the way to go now in my opinion. Works awesomely!!

https://wincent.com/products/command-t

Upvotes: 2

George Anderson
George Anderson

Reputation: 992

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.)

Upvotes: 1

Dara Kong
Dara Kong

Reputation: 1188

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.

Upvotes: 5

Karmen Blake
Karmen Blake

Reputation: 3436

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

Upvotes: 1

Related Questions