Wiki

by yszheda

View project onGitHub

Tip 114: Autocomplete Words from the Dictionary

Return to the top: <<Practical Vim>>

  • triggered by <C-x><C-k>

References:

# If you open the file in vim,
# then you can \"ayy@a the next line to execute the vim command: 
:h compl-dictionary
  • supply Vim with word list:
    • enable Vim's spell checker:
      :set spell
      
    • use the 'dictionary' option

References:

# If you open the file in vim,
# then you can \"ayy@a the next line to execute the vim command: 
:h 'dictionary'