Thanks Christian for the excellent gn added in 7.3.610. However, using Vim 7.4.972 I'm seeing this problem with cgn after search.
Put the cursor at beginning of line: abc x def x ghi x jkl Type /x and press Enter to find first x. Type cgn"x" and press Esc to replace search hit with "x" (three characters). Press n to find next x then press . to repeat change. Expected result: abc "x" def "x" ghi x jkl Actual result: abc "x" def "x" jkl The problem occurs when the search is for a single character, and the replacement text ("x" above) includes the search. The problem can also be seen by simply trying cgn on the second x. John -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.