Hi,

I ran into two different behaviors when completing a word using "<C-n>" and 
"<C-p>".  Assume the following content of a new buffer with "set 
completeopt+=noinsert":

hello

h<Cursor>

The expected behavior is produced by pressing "<C-n>" followed by "xxx<C-n>" 
which results in the message "Back at original" because no completion has been 
found.  Result:

hello

hxxx<Cursor>

Completing in the opposite direction by pressing "<C-p>" followed by "xxx<C-p>" 
produces the same message but a different result:

hello

h<Cursor>

"xxx" has been deleted by the second attempt to complete the word.  I'd expect 
this behavior only without the "noinsert" option.


My current version of vim is 7.4-1294.

Cheers,

Jan Christoph

-- 
-- 
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.

Raspunde prin e-mail lui