Sunday, July 10, 2011

Re: FuzzyFinder - Questions

On Fri, Jul 8, 2011 at 8:46 AM, eleanor <evangeline.eleanor@gmail.com> wrote:
> Hi, I installed FuzzyFinder plugin, but I have a couple of questions now:
> 1) The FufLine doesn't search case-sensitively. I have the following in
> .vimrc:
> set ignorecase
> set smartcase
> which should only use case-sensitive searching if there's a capital letter
> in the search pattern - however this is not the case with fuzzyfinder and
> the FufLine.

I have the same behavior here. I think that Fuzzy finder doesn't
adhere to the ignorecase and smartcase. If you type in "Fuzzy" it
will match "Fuzzy" and "fuzzy".
I looked around the fuzzy finder code, and it's bewildering to me,
having dynamically defined functions, and so I'm having a hard time
even finding the code that actually searches for what you type in :-/

Also, make sure you download the "L9" library.

>
> Also, can FufLine search in multiple files, not just the current one?

I don't think so, at least there's no mention about it in the docs
that I'm aware of. I would look through the code but........

I recommend the Grep.vim plugin for searching through a directory of files.
http://www.vim.org/scripts/script.php?script_id=311

>
> 2) There is no FufMruFile file available (I downloaded fuzzyfinder from
> here: http://www.vim.org/scripts/script.php?script%5Fid=1984), so I cannot
> list the most recently used files, which is quite useful.

I think that FufMruFile is *disabled* by default. Put this in your .vimrc:

let g:fuf_modesDisable = ['mrucmd']

By default, g:fuf_modesDisable is "mrucmd" and "mrufile" for
performance reasons, or something like that. If you only disable
"mrucmd" (using the line of code above) you should have your
FufMruFile command when you re-start Vim.

Good Luck -- Fuzzy Finder is a great plugin but has its quirks.

Be sure to read the documentation with every release, because the
interface has changed significantly. The author isn't as active
w/Fuzzy Finder anymore, so it should be pretty stable from here out
but you never know :-)


--Nate
>
> --
> View this message in context: http://vim.1045645.n5.nabble.com/FuzzyFinder-Questions-tp4564798p4564798.html
> Sent from the Vim - General mailing list archive at Nabble.com.
>
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: