X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=vimrc;h=ac81a9ed701c6665cc5937e4e20e1fffe1f5633b;hb=9218ab20b77c2aa75c675b1edc060ef06c75c000;hp=83f17ea9b98649589248075d39f55fdacf62c6bd;hpb=bcd1f6a93a994934dd4465833df94d2d5570ab89;p=vpaste diff --git a/vimrc b/vimrc index 83f17ea..ac81a9e 100644 --- a/vimrc +++ b/vimrc @@ -1,5 +1,9 @@ -" Andy Spencer 2009-2011 - Public domain +" Andy Spencer 2009-2013 - Public domain +filetype plugin indent on +syntax on + +" Defaults set nocompatible set encoding=utf-8 set fileencoding=utf-8 @@ -7,15 +11,21 @@ set term=xterm-256color set modelines=10 set background=light -filetype plugin indent on -syntax on -"colorscheme grey +" Xterm settings +let g:xterm_trim_escapes = 1 +let g:xterm_start_pattern = "^$" -let g:html_use_css = 1 -let g:html_use_encoding = "UTF-8" -let g:html_no_progress = 1 -let g:html_dynamic_folds = 1 -"let g:html_use_xhtml = 1 +" TOhtml settings +let g:html_use_css = 1 +let g:html_use_encoding = "UTF-8" +let g:html_no_progress = 1 +let g:html_dynamic_folds = 1 +let g:html_use_xhtml = 1 -let g:xterm_trim_escapes = 1 -let g:xterm_start_pattern = "^$" +" Misc +let g:is_bash = 1 + +" Override these with modelines +set nowrap noexpandtab +au BufWinEnter * let g:html_expand_tabs = &expandtab +au BufWinEnter * let g:html_pre_wrap = &wrap