Random Vimbits

nnoremap <esc> :noh<cr><esc>

function! g:ToggleColorColumn()
  if &colorcolumn != ''
    setlocal colorcolumn&
  else
    setlocal colorcolumn=+1
[...]

noremap <Leader>i :set list!<CR>

map <S-Space> <C-Y><C-Y><C-Y><C-Y><C-Y><C-Y><C-Y><C-Y><C-Y><C-Y><C-Y>
map <Space> <C-E><C-E><C-E><C-E><C-E><C-E><C-E><C-E><C-E><C-E><C-E>


nnoremap <silent> ss :split<CR>
nnoremap <silent> vv :vsplit<CR>

" open all buffers in tabs (gui)
map <silent> <leader>tb :tab :ball<cr>

noremap <space> :set hlsearch! hlsearch?<CR>

nnoremap <F2> :silent 1,$!xmllint --format --recover - 2>/dev/null<cr>

# for windows, download xmllint software:
# http://code.google.com/p/xmllint/
# and use below
[...]

" Go to home and end using capitalized directions
noremap H ^
noremap L $