Yegappan wrote:

> Is it possible for a Vim plugin use the new 'incsearch' functionality
> in a custom command? For example, I would like to enable this
> functionality for the new cfilter plugin. The cfilter plugin adds a
> command ":Cfilter" that accepts a search pattern. When the user
> types the search pattern, it would be useful to get the 'incsearch'
> functionality.

Not yet, but we could have a -complete argument to :command for this.
Something like "-complete=pattern".  It's probably sufficient to just do
this for the first argument.

-- 
I think that you'll agree that engineers are very effective in their social
interactions.  It's the "normal" people who are nuts.
                                (Scott Adams - The Dilbert principle)

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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 because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui