On Wed, May 10, 2006 at 04:28:51PM +0200, Bram Moolenaar wrote: > > Matt Mzyzik wrote: > > > > > Assume the buffer is as follows (between quotes): > > > > " > > > > Rabbits are really great > > > > rats are not so great > > > > ra > > > > " > > > > > > > > Now if my cursor is after the "ra" on the third line, and I do a c-n to > > > > see keyword completions, the "ra" disappears when the menu comes up. Is > > > > this desired? > > > > > > I get "rats". Check your 'completeopt' setting. > > > > my 'completeopt' is set to "longest,menuone" > > > > also, I'm certain now that this bug didn't happen on at least one of the > > old vim betas (the one on the gentoo portage) > > > > and yes, if I take out "longest" from 'cot', then everything works > > > > there's also another problem with "longest", where the items are no > > longer selected and I cannot do things like <c-l> to keep completing > > character by character > > You must also have 'ignorecase' set. What happens then is that the > matches "Rabbits" and "rats" are found. The longest common text is > empty then. Previously only one of "rabbits" and "Rabbits" would be > found. Depending on which one was found first you would get "ra" or an > empty string like now.
I do have 'ic' set. So then it's not a bug... ok. However, you did not address my other bug: <c-l> to complete character by character does not work. > > > I also noticed <c-j> no longer selects menu items, however I guess > > that might be intended as most people use <c-y> as in the docs. > > Do you mean the Enter key? That changed a while back. No I don't mean Enter key. I mean <c-j>. > > -- > >From "know your smileys": > %-) After staring at screen for 15 hours > > /// 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 ///