Set indents to 2 spaces for HTML; open all folds in ledger

This commit is contained in:
Eryn Wells 2012-01-04 08:54:31 -08:00
parent 7e531c1a0f
commit 273cb3758a

5
vimrc
View file

@ -193,11 +193,12 @@ if has('autocmd')
" spelling for text files " spelling for text files
autocmd FileType text set spell autocmd FileType text set spell
" spaces as tabs for python " spaces as tabs for python
autocmd filetype python setlocal expandtab autocmd FileType python setlocal expandtab
" don't show tabs in html and xml " don't show tabs in html and xml
autocmd filetype html,xml set listchars-=tab:▸\ autocmd FileType html,htmldjango,xml set sw=2 sts=2 listchars-=tab:▸\
autocmd BufNewFile,BufRead *.ledger setf ledger | comp ledger autocmd BufNewFile,BufRead *.ledger setf ledger | comp ledger
autocmd FileType ledger normal zR
" Jump to last known cursor position unless it's the first line, or past the " Jump to last known cursor position unless it's the first line, or past the
" end of the file " end of the file