5

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)
StandardEyre
  • 1,118
  • 1
  • 10
  • 22
nicmus
  • 141
  • 2

1 Answers1

1

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

enter image description here

Eric Wong
  • 520
  • 2
  • 13