How do you enable auto-indentation in Vim? set autoindent smartindent Use autoindent to copy indentation from the current line. category: config tags: #config #autoindent #smart