From 273cb3758a02f290617a167c3093402007d5927c Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 4 Jan 2012 08:54:31 -0800 Subject: [PATCH] Set indents to 2 spaces for HTML; open all folds in ledger --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index ccb8bbf..02457e9 100644 --- a/vimrc +++ b/vimrc @@ -193,11 +193,12 @@ if has('autocmd') " spelling for text files autocmd FileType text set spell " spaces as tabs for python - autocmd filetype python setlocal expandtab + autocmd FileType python setlocal expandtab " 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 FileType ledger normal zR " Jump to last known cursor position unless it's the first line, or past the " end of the file