title: How VIM Autocomplete Work
body: <p>I was going over VIM shortcuts &amp; found the <strong>CTRL+p</strong> which acts as an autocomplete in UNIX (you know what I am saying, a dropdown list of the possible words to use, sorted by frequency of usage). It seems to detect even the most immediately typed words. How does this work in VIM? <strong>I am specifically interested in the data structures that are used for this?</strong></p>
  
  <p>Is there some indexing going on, which dynamically keeps adding new words to its index as they are typed? It has saved me tons of time off-late. By the way VIM Rocks :)</p>