In this wikia tip I found
set complete+=k and
set complete+=t. I applied both but only the first one worked.
My question is what is the difference between these?
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.Sign up to join this community
k scan the files given with the 'dictionary' option ] tag completion t same as "]"
k allows you to specify a file containing some words you want to use for completion. The tag
t is used to complete tags generated by a program like exuberant Ctags or cscope. For more details about tags see
When you used
set complete+=t it's not that it didn't work it is that you probably didn't generate a tag file.