Hi Bram, If the cursor is on the third line and you start a search backward with: ?a The cursor now is on the second line. Now CTRL-G will bring the cursor to the third line. I'd expect that hitting enter now will finish the search and leave the cursor on the third line, but it goes to the first line instead.
Ramel On Jun 29, 2017 11:23 PM, "Bram Moolenaar" <[email protected]> wrote: Ramel Eshed wrote: > vim -u NONE -N > :set incsearch > ia<CR>a<CR>a<ESC> (insert 3 lines of 'a') > > ?a (now line 2 is highlighted) > ^G (now line 3 is highlighted) > <CR> (cursor ends at line 1!) Can't reproduce. What do you mean with "highlighted"? I only see the cursor. -- >From "know your smileys": :-D Big smile /// 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.
