Yegappan wrote:

> The 'inccommand' option in Neovim allows a user to perform
> live substitution. When you type a :substitute command, the
> document is modified live. A demonstration of this feature
> is available at http://vimcasts.org/episodes/neovim-eyecandy.
> 
> I think this feature will be a good addition to Vim.

It sounds like a "nice to have" feature.  I wonder what happens with
syntax highlighting, folds, line wrapping etc.  And how does it restore
everything when cancelling?  it actually has to restore at every key
stroke, and redraw everything to be correct.

> There is also a multiple-cursors plugin
> (https://github.com/terryma/vim-multiple-cursors)
> which tries to mimic the Sublime Text Editor's multiple
> section feature in Vim. I am not sure whether the features
> provided by this plugin and the 'inccommand' option can be
> combined together and natively supported in Vim.

It might work for some simple cases, but will get really difficult if
you want to make it work properly.  And although it looks fancy, there
isn't much practical value.  I can't say I ever missed this feature.

-- 
An indication you must be a manager:
You give constructive feedback to your dog.

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