Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 344 Bytes

how-to-enable-autoindent.md

File metadata and controls

15 lines (9 loc) · 344 Bytes

How to enable autoindent

Press Esc to switch to command mode and then type (then press Enter):

:set smartindent
  • : - lets vim know we're going to input commands
  • set - change specified option value
  • smartindent - will indent new lines automatically

group: indent