</style>
</head>
<body>
- <form id="form" method="post" enctype="multipart/form-data">
+ <form id="form" method="post" action="" enctype="multipart/form-data">
<div style="margin:0 0 1.5em 0;">
- <input style="display:none" type="text" name="ignoreme" value="">
+ <input style="display:none" type="text" name="ignoreme" value="" />
<textarea name="text" cols="80" rows="25" style="width:100%; height:20em;"></textarea>
<select onchange="document.getElementById('form').action =
document.location + '?ft=' + this.value;">
" Andy Spencer 2009-2011 - Public domain
+filetype plugin indent on
+syntax on
+
+" Defaults
set nocompatible
set encoding=utf-8
set fileencoding=utf-8
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:xterm_trim_escapes = 1
-let g:xterm_start_pattern = "^$"
+" Override these with modelines
+set nowrap noexpandtab
+au BufWinEnter * let g:html_expand_tabs = &expandtab
+au BufWinEnter * let g:html_pre_wrap = &wrap