Did you know that Vim has more than one autocompletion mode? Let’s focus on files autocompletion for now. This is the shortened output for ls in the current directory:

ls

Guardfile
LICENSE
README.md
_layouts
_posts
_protips

If I type ‘pro’ in the insert mode and press Ctrl x f afterwards, a menu with suggested paths will pop up and I will be able to choose from

  • _protips.md
  • protip-template.md

Try out this Vim feature next time!
This protip has been written in 516 seconds