From fccef0454c683dd7b6190626817409e7bfb28cc2 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Wed, 11 Jan 2012 16:43:18 -0800 Subject: [PATCH] Move autocmds per FileType to ftdetect scripts --- vimrc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/vimrc b/vimrc index 91710aa..342256e 100644 --- a/vimrc +++ b/vimrc @@ -190,15 +190,6 @@ nmap sn :e ~/.vim/bundle/snipmate/snippets/=&filetype.snippets< if has('autocmd') filetype plugin indent on - " spelling for text files - autocmd FileType text set spell - " spaces as tabs for python - autocmd FileType python setlocal expandtab - " don't show tabs in html and xml - 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