From e94dd269a84f5a536f94046047ff15075c734bc9 Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 21 Jan 2013 17:50:33 -0200 Subject: [PATCH] i can't generate the fancy symbols fonts here, so it's off; python files have a 'remove spaces in empty lines' prewrite command --- configs/vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configs/vimrc b/configs/vimrc index 65dcca9..f4ac8f2 100644 --- a/configs/vimrc +++ b/configs/vimrc @@ -46,6 +46,9 @@ if has("autocmd") \ endif augroup END + + " Python files should not have empty lines + autocmd FileType python autocmd BufWritePre :%s/\s\+$//e else set autoindent " always set autoindenting on endif " has("autocmd") @@ -140,7 +143,7 @@ Bundle 'godlygeek/tabular' Bundle 'jiangmiao/auto-pairs' " powerline settings -let g:Powerline_symbols = 'fancy' +""let g:Powerline_symbols = 'fancy' " auto-pair settings let g:AutoPairsMapCR = 1