开发者

vim plugin FuzzyFinderTextMate error

开发者 https://www.devze.com 2022-12-08 21:41 出处:网络
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:

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


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.


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

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


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消