Hi,

On Sun, Oct 8, 2017 at 9:05 PM, Yegappan Lakshmanan <[email protected]> wrote:
> Hi,
>
> This is great. I have been looking for this feature for a long time.
>

We should also add the live substitution feature (neovim's inccommand feature).

Regards,
Yegappan

>
> On Sun, Oct 8, 2017 at 8:24 PM, haya14busa <[email protected]>
> wrote:
>>
>> This patch supports highlighting all matched text while incremental
>> searching.
>>
>> By removing SEARCH_KEEP flag, command line text is stored as last regexp
>> pattern and used for 'hlsearch' feture while incremental searching.
>>
>> This patch is based on @itchyny's patch1. itchyny's patch didn't handle
>> cancelling incremental search by <Esc> or <C-c> and command line text is
>> stored as last pattern even if users cancell the search.
>> This patch fix this problem by store/restore the search pattern.
>>
>> Also, I added 'inchlsearch' ("inc"remental "hlsearch") option to turn
>> on/off this feature.
>>
>> I'm the author of https://github.com/haya14busa/incsearch.vim which
>> provide
>> similar functionality.
>> Actually, I'm satisfied with this plugin but I believe this feature is so
>> useful that it should be implemented with default vim :)
>>
>> ________________________________
>>
>> You can view, comment on, or merge this pull request online at:
>>
>>   https://github.com/vim/vim/pull/2198
>>
>> Commit Summary
>>
>> Implement incremental highlight search feature
>> improve patch
>> add test and fix impl for ctrl-g/t handling and called from user functions
>> up
>> fix
>> improve test
>> move variable declaration
>> move 'saved_last_search_spat' declaration
>> fix if def
>> rm testok
>> fix style, if-def and update runtime files
>> fix style
>>
>> File Changes
>>
>> M runtime/doc/options.txt (15)
>> M runtime/doc/quickref.txt (1)
>> M runtime/optwin.vim (2)
>> M src/ex_getln.c (17)
>> M src/option.c (3)
>> M src/option.h (1)
>> M src/proto/search.pro (2)
>> M src/search.c (43)
>> M src/testdir/test_search.vim (33)
>>
>> Patch Links:
>>
>> https://github.com/vim/vim/pull/2198.patch
>> https://github.com/vim/vim/pull/2198.diff

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