Completion seems to work ok overall (so <C-X>
+ <C-]>
complete for tags and <C-X>
+ <C-N>
/<C-P>
complete in context), but the line completion (<C-X>
+ <C-L>
) always tells me "Pattern not found".
It does not work even when at the beginning of a new line (when <C-X>
+ <C-L>
should just copy the previous line).
UPDATE:
Even when starting vim without anything (vim -u NONE
) line completion still does not work. huh?
:verbose imap <c-x><c-l>
? (should be "no mapping found")<C-x><C-l>
in insert mode? Also, what is the output of:set complete?
?:verbose imap <ctrl-x><ctrl-l>
.
from the 'complete' option. The current buffer isn't scanned. See:h 'complete'
(with the quotes). Just leave that option alone (don't set it yourself anywhere), or add to it.