I wanted to make a vim snippet in my vimrc, without using a plugin. I want it to appear automatically when I type Ctrl-N
iabbrev was good for short code addition, as mentioned in this post https://vim.fandom.com/wiki/Use_abbreviations_for_frequently-used_words
I did not understand the
set complete += '/user/completion file'
I thought I would have a list of words in that file and vim adds it with Ctrl-N
, but it did not work.
Can I get suggestion when I type Ctrl-N