Enabled ruler and added auto commands for Twig.

This commit is contained in:
Ryan Cavicchioni 2012-10-09 14:58:51 -05:00
parent df558ec172
commit 1b93d82817

View File

@ -34,6 +34,7 @@ set expandtab
set backspace=indent,eol
set textwidth=80
set spell
set ruler
if has("win32")
silent execute "!mkdir " . $HOME . "\\vimfiles\\backup"
@ -52,6 +53,7 @@ au FileType text set tw=72 spell spelllang=en_us nonumber
au FileType mail set tw=72 spell spelllang=en_us nonumber
au FileType gitcommit set tw=72 spell spelllang=en_us nonumber
au BufNewFile,BufEnter *.phtml set tabstop=2 shiftwidth=2 softtabstop=2
au BufNewFile,BufEnter *.twig set tabstop=2 shiftwidth=2 softtabstop=2 ft=htmljinja
au FileType html set tabstop=2 shiftwidth=2 softtabstop=2
au FileType xml set tabstop=2 shiftwidth=2 softtabstop=2
au FileType ant set tabstop=2 shiftwidth=2 softtabstop=2