X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=vimrc;h=79db8752cbb6e78fc0bf3fae2fb760ece3a80330;hb=69f85dcc9c70bf0316c7545c90c8991eb94641e5;hp=56f60e32098cb5c07e100efc8496095ab6906b29;hpb=6a9662553e44676020a634fb15625cc068b642f5;p=vpaste diff --git a/vimrc b/vimrc index 56f60e3..79db875 100644 --- a/vimrc +++ b/vimrc @@ -1,16 +1,27 @@ -" 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 fileencoding=utf-8 set term=xterm-256color set modelines=10 +set background=light -filetype plugin indent on -syntax on -colorscheme grey - -let html_use_css = 1 -let html_use_encoding = "utf8" -let g:xterm_trim_escapes = 1 +" Xterm settings +let g:xterm_trim_escapes = 1 let g:xterm_start_pattern = "^$" -"let 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 + +" Override these with modelines +set nowrap noexpandtab +au BufWinEnter * let g:html_expand_tabs = &expandtab +au BufWinEnter * let g:html_pre_wrap = &wrap