~ gunman /.vimrc

...with shortcuts for tabbing, hex-editing, syntax-highlighting and search-gimmicks and folding
" initialisation file for vim editor.
" $Header: /home/gutied/.vimrc,v 1.2 2007/12/29 01:39:55 gutied Exp $

set ai nocp digraph ek hid ru sc wmnu noet nosol si
set bs=2 fo=cqrt ls=2 shm=at ww=<,>,h,l ts=4 sw=4
set com=s1:/*,mb:*,ex:*/,://,b:# filetype=on
set vi=%,'50,\"50,:50 lcs=tab:>-,trail:.,extends:>
set pt=<F5> shm=I tm=750 nomore modelines=5 hls!
set hlsearch incsearch
syn on

set foldenable
set foldmethod=syntax
set foldcolumn=4

ino <Down> <C-O>gj
ino <Up> <C-O>gk
nno <Down> gj
nno <Up> gk

nno <F2> :set hls!<bar>set hls?<CR>
nno <F3> :syn clear<CR>
nno <F4> :syn on<CR>
nno <F5> :set nu!<bar>set nu?<CR>
nno <F6> :%!xxd<CR>
nno <F10> :%!xxd -r<CR>


nmap tp :tabprev<cr>
nmap tn :tabnext<cr>
nmap to :tabnew<cr>
nmap tc :tabclose<cr> 

set smartcase                " case-sensitive searching on upper-case letters 
set cursorline                " hilight the screen line of the cursor
" set cursorcolumn        " hilight the screen column of the cursor
filetype plugin on        " enable filetype detection 

colo desert

" Mail colours
"""
hi mailHeader ctermfg=111
hi mailSubject ctermfg=117
hi mailSignature ctermfg=111
hi mailQuoted1 ctermfg=16
hi mailQuoted2 ctermfg=58
hi mailQuoted3 ctermfg=142
hi mailQuoted4 ctermfg=184
hi mailQuoted5 ctermfg=226 


" set statusline=%<%f\ %h%m%r%=%-20.(Zeile=%l,Spalte=%c%V,Insgesamt=%L%)\%h%m%r%=%-40(,Hexwert=0x%B,%n%Y%)\%P