A 256 color scheme.
--- a/.vimrc Sun Sep 25 17:13:42 2011 +0300
+++ b/.vimrc Sun Sep 25 17:38:17 2011 +0300
@@ -4,9 +4,15 @@
" This must be first, because it changes other options as side effect.
set nocompatible
-syntax on
+" Switch syntax highlighting on, when the terminal has colors
+if &t_Co > 2 || has("gui_running")
+ syntax on
+endif
-" colorscheme delek
+" A 256 color scheme.
+if &t_Co >= 256 || has("gui_running")
+ colorscheme inkpot
+endif
set sessionoptions=curdir,buffers,tabpages
@@ -16,6 +22,7 @@
" Set command string height.
set ch=1
+" Hide buffers instead of closing them.
set hidden
set mouse=a
@@ -107,6 +114,13 @@
" Disable these characters as word dividers.
set iskeyword+=_
+" Allow backspacing over autoindent, line breaks (join lines), start of insert
+set backspace=indent,eol,start
+
+" Affects the output of :TOhtml.
+:let html_use_css = 1
+:let use_xhtml = 1
+
" Fix <Enter> for comment
" set fo+=cr