Sunday, October 10, 2010

How to filter input in a buffer in a script?

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. I've come as far
as creating a buffer (botright) and setting some local options with
setlocal. Now, how can I let the user enter a pattern, act on that
pattern and also show it to the user at the same time?

Thanks in advance!

-Martin

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