Perhaps in the past I was just exploiting a bug. But I have had the <c-l> mapping for a long time, and I use the NeoComplete plugin for my autocompletion. <c-l> has worked great for a long time with the popup window visible, but recently it stopped working. It may be using a custom complete function as you say, and that functionality would have to be fixed in NeoComplete.
On Tuesday, January 6, 2015 2:39:56 AM UTC-8, Christian Brabandt wrote: > Am 2015-01-05 20:02, schrieb Amadeus Demarzi: > > I just tested this patch, and it doesn't quite work the way it had > > originally (before this bug). > > > > I have the following map in my .vimrc: > > > > inoremap <c-l> <esc>A > > > > I often use that to jump to the end of a line while in insert mode. > > However, this patch just means that nothing happens when I press > > <c-l>, whereas before the cursor would jump to the end of the line. > > Now I have to first close the pop up, and then I can use <c-l>. > > > > So it's good in the sense that it fixes the previous issue where <c-l> > > would cycle through the popup options, however now it just prevents > > anything from happening. > > I am not sure I understand. Remapped insertmode completion keys won't > work when > the popup menu is shown. That means, your imaped <c-l> didn't work in an > unpatched vim when the popup menu was displayed. > At least, that is what I am seeing here. > > (Internally, Vim uses the complete-line mode for the complete() function > and that's why the <c-l> did select the previous item. I think, one > should > use a special state for the complete() function instead of (re-)using > the > line completion mode. Then <C-L> should just work) > > Best, > Christian -- -- 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.
