mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.1.1704: C-R C-W does not work after C-G when using 'incsearch'
Problem: C-R C-W does not work after C-G when using 'incsearch'. Solution: Put cursor at end of the match. (Yasuhiro Matsumoto, closes #4664)
This commit is contained in:
@@ -713,6 +713,7 @@ may_adjust_incsearch_highlighting(
|
||||
save_viewstate(&is_state->old_viewstate);
|
||||
update_screen(NOT_VALID);
|
||||
redrawcmdline();
|
||||
curwin->w_cursor = is_state->match_end;
|
||||
}
|
||||
else
|
||||
vim_beep(BO_ERROR);
|
||||
|
Reference in New Issue
Block a user