Tony Mechelynck wrote:
> Bug: After insert-mode completion, Ctrl-Y changes the character before > the cursor > > Reproducible: Always > > Steps to Reproduce: > 1. In Insert mode (after some text), hit Ctrl-N to get a menu of possible > completions. The first option is filled-in. > 2. Hit backspace to erase the last character, then replace it by a value for > which there is no completion. The menu disappears, as expected. > 3. Hit Ctrl-Y. > > Actual result: the character before the cursor is replaced as if step > 2 above had not occurred. Then (Ctrl-Y) the character from the > previous line is inserted. > > Expected result: The character from the previous line should have been > inserted without changing the character typed-in at step 2. That's not a bug. In insert completion mode CTRL-Y means "Yes, accept this match". After typing the backspace and another character you are still in completion mode, notice the mode message in the last line. There was a discussion before (quite a bit of time ago now) what should happen when typing a character that makes the list of matches reduce to zero. Thinking about a good choice is still in the todo list. For now you keep the list of matches, filtered out by the typed text. -- hundred-and-one symptoms of being an internet addict: 68. Your cat always puts viruses on your dogs homepage /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
