Commits

Josh VanderLinden  committed 9b285f5

Another autocommand

  • Participants
  • Parent commits 0a3cb12

Comments (0)

Files changed (1)

 " autocmd FileType html,htm exe ":silent 1,$!tidy --indent yes -q"
 
 " autocmd FocusLost *.inc,*.php,*.html,*.js,*.css :w
+au BufEnter,BufRead,BufNewFile * setlocal relativenumber list
 au BufEnter,BufRead,BufNewFile *.inc,*.phtml,*.php setlocal shiftwidth=2 tabstop=2 syntax=php nolist
 au BufEnter,BufRead,BufNewFile *.htm,*.html setlocal shiftwidth=2 tabstop=2 syntax=html nolist
 au BufEnter,BufRead,BufNewFile *.xml,*.rml setlocal shiftwidth=2 tabstop=2 syntax=xml nolist