Autocomplete will complete any word, in any open document you are currently editing
Ctrl+N – Next Suggestion
Ctrl+P – Previous Suggestion
- Open an existing text document in vim and enter insert mode.
- Type any character (for example ‘s‘) and press Ctrl+N or Ctrl+P. Vim will provide you with the next or previous word that it knows that matches that character.