Skip to content
Shin Okada edited this page Aug 6, 2015 · 1 revision

In .vimrc, autocmd event pattern command

syntax on
filetype indent on
set smartindent
autocmd BufRead, BufWritePre *.html normal gg=G 

15. Vim-for-advanced-users.md


  1. Textobjects
  2. Autocommand
Clone this wiki locally