X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;ds=sidebyside;f=vimrc;h=074722e08fc5837f22f736c3c64751c5cf0f46bc;hb=8ea90e3037f45638d9edf7e9934cc1d2446016b6;hp=fd487fa77bba9f51f50be62383c6c587bf415f3f;hpb=572c39c3b4cf45ae8b2619a150f3f770a4c0f8d1;p=vpaste diff --git a/vimrc b/vimrc index fd487fa..074722e 100644 --- a/vimrc +++ b/vimrc @@ -1,14 +1,30 @@ -" Copyright (C) 2009 Andy Spencer - Public domain +" Andy Spencer 2009-2011 - Public domain +filetype plugin indent on +syntax on + +" Defaults set nocompatible set encoding=utf-8 -set foldtext=getline(v:foldstart) +set fileencoding=utf-8 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 = "^$" + +" 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 + +" Misc +let g:is_bash = 1 -let html_use_css = 1 -let html_use_encoding = "utf8" -"let use_xhtml = 1 +" Override these with modelines +set nowrap noexpandtab +au BufWinEnter * let g:html_expand_tabs = &expandtab +au BufWinEnter * let g:html_pre_wrap = &wrap