Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim plugin FuzzyFinderTextMate error

Tags:

vim

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

like image 508
Tranquility Avatar asked Sep 12 '26 10:09

Tranquility


1 Answers

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.

like image 152
Dara Kong Avatar answered Sep 16 '26 03:09

Dara Kong