diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-16 21:38:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-16 21:38:51 +0200 |
commit | 69a5b867940d25f68a782de5c1165d65b51fcafa (patch) | |
tree | 7f76d65e19c2ec563004c7ccc01750dec55fc681 /src/ex_getln.c | |
parent | 61386408063a2300d7d7f42c5156f66f6252fb54 (diff) | |
download | vim-git-69a5b867940d25f68a782de5c1165d65b51fcafa.tar.gz |
patch 8.1.1704: C-R C-W does not work after C-G when using 'incsearch'v8.1.1704
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)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index b1b996183..efeae94ed 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -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); |