Sunday, October 10, 2010

Re: How to filter input in a buffer in a script?

On 10/10/2010 05:55 AM, Martin Lundberg wrote:
> Hi,
>
> Plugins like fuzzyfinder and command-t makes it possible to get a list
> of files and then filter that list by typing in a pattern. The pattern
> you type is showed to the user at the same time as the list in the
> buffer is removing filenames (lines).
>
> I'm want to do the same with buffers in vim script.

You may find that LustyExplorer suits your needs:
http://www.vim.org/scripts/script.php?script_id=1890

From the above page:
"""
It includes a filesystem explorer, a buffer switcher, and a
buffer grep for searching through and switching between files
and buffers quickly, all through a mostly common interface.
"""

It works similarly to command-t (which I also use and like).

While searching for LustyExplorer's link on vim.org, I
encountered the following additional plugins. I've not tried
them yet, but they seem to provide similar functionality:

QuickBuf:
http://www.vim.org/scripts/script.php?script_id=1910

QuickName:
http://www.vim.org/scripts/script.php?script_id=2317

qnamebuf (a merging of QuickName and QuickBuf):
http://www.vim.org/scripts/script.php?script_id=3217

Michael Henry

--
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: