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?
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.