Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

0 votes

<c-n><c-p> start to scan tags in insert mode whereas I just want to complete with existing words in the buffer

While in insert mode, I use for completing words that are in the current buffer. Note that if you wish to complete words that are only in the current buffer, it may be better to use <C-x><C-...
husB's user avatar
  • 2,113
2 votes

<c-n><c-p> start to scan tags in insert mode whereas I just want to complete with existing words in the buffer

Ctrl-P and Ctrl-N in insert mode do not only complete based on words in the current buffer. Instead, they complete from all the locations specified in your 'complete' option. By default, this includes ...
Rich's user avatar
  • 32.1k

Top 50 recent answers are included