I'd like to use the ins-completion function to suggest not words but WORDS, that is to say, space separated words. Is that possible?
Example: (latex)
\mathbb{R}
\ma(Ctrl-n)
I'd like to use the ins-completion function to suggest not words but WORDS, that is to say, space separated words. Is that possible?
Example: (latex)
\mathbb{R}
\ma(Ctrl-n)
in your example, if you want vim treat { and } as words, you can use
set iskeywords+={
set iskeywords+=}
then you press <C-N> the whold WORDS will be completed.
see my pic
Ctrl-x Ctrl-nas many times as needed, after the 1stCtrl-ncompletion. – VanLaser Mar 17 '16 at 11:02