Lessons: 22Length: 2.6 hours

Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

2.2 Autocommands

Vim can run commands when certain events occur: for example, when a file is opened or saved. Autocommands can even work for specifc file types, allowing you to make custom settings for different filetypes.