-set history=50 " keep 50 lines of command line history
-set ruler " show the cursor position all the time
-set showcmd " display incomplete commands
-set incsearch " do incremental searching
-set number " show some linenumbers
-
-" For Win32 GUI: remove 't' flag from 'guioptions': no tearoff menu entries
-" let &guioptions = substitute(&guioptions, "t", "", "g")
+" }}}
+
+" appearance {{{
+set background=dark " Dark background, d'uh!
+set number " show some linenumbers
+set showmatch " Show matching brackets.
+set showbreak=▒▒ " show these chars for wrapped lines
+set list listchars=tab:»·,trail:· " show these chars for tabs and trailing spaces
+" }}}
+
+" misc options {{{
+set history=500 " keep 500 lines of command line history
+set ruler " show the cursor position all the time
+set confirm " Ask what to do when closing unsaved documents
+set showcmd " Show (partial) command in status line.
+set autowrite " Automatically save before commands like :next and :make
+"set hidden " Hide buffers when they are abandoned
+set splitright " split right when using :vsp
+set scrolloff=5 " keep at least n lines above/below
+set backspace=indent,eol,start " allow backspacing over everything in insert mode
+
+set viminfo='100,<50,s10,h,n~/.vim/viminfo " viminfo defaults but save file in .vim
+" }}}
+
+" tabs {{{
+set softtabstop=4
+set shiftwidth=4
+set expandtab
+" }}}