You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Press <C-X><C-U> to trigger completion. Do not do anything to select a match; simply keep typing some letters, then press Enter. Now press <C-Y>: it will start copying characters from the previous line (the default i_CTRL-Y mapping) instead of deleting the current line (as specified by the .vimrc). Running inoremap <C-Y> reports the following mappings:
i <C-Y> *@<SNR>19_HandlePossibleSelectionCtrlY()
i <C-Y> * <C-O>dd
On the other hand, if after pressing <C-X><C-U> one presses <C-U> again to select the first match, then enter to dismiss the popup, the expected behaviour is restored.
The text was updated successfully, but these errors were encountered:
It doesn't happen all the time - it seems to depend on how one interacts with the completion window. Steps to reproduce on Ubuntu 13.10 with gvim 7.4:
Put the following in .vimrc (and obviously do :BundleInstall if needed to install clang_complete):
Open a .cpp and insert the following text:
Press
<C-X><C-U>
to trigger completion. Do not do anything to select a match; simply keep typing some letters, then press Enter. Now press<C-Y>
: it will start copying characters from the previous line (the default i_CTRL-Y mapping) instead of deleting the current line (as specified by the .vimrc). Running inoremap<C-Y>
reports the following mappings:On the other hand, if after pressing
<C-X><C-U>
one presses<C-U>
again to select the first match, then enter to dismiss the popup, the expected behaviour is restored.The text was updated successfully, but these errors were encountered: