1
0
forked from aniani/vim

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:
Bram Moolenaar
2019-07-16 21:38:51 +02:00
parent 6138640806
commit 69a5b86794
3 changed files with 10 additions and 3 deletions

View File

@@ -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);