version 6.3 set nocompatible " Use Vim defaults (much better!) set bs=2 " allow backspacing over everything in insert mode set ai " always set autoindenting on "set backup " keep a backup file set history=50 " keep 50 lines of command line history set ruler " show the cursor position all the time "set noerrorbells set hidden hi StatusLine ctermfg=grey ctermbg=blue hi StatusLineNC ctermfg=grey ctermbg=blue "set stl=%n: %<%f%y%( [%M%R%W]%)%=%3b %6l,%-10(%c-%v %)%P set iskeyword=@,48-57,_,192-255,-,.,:,/,@-@ set laststatus=2 set magic set showcmd set showmatch set showmode set noet set tabstop=8 "set softtabstop=2 set foldenable set foldmethod=marker "set visualbell set comments=b:#,:%,fb:-,n:>,n:) set tw=79 set joinspaces set laststatus=2 set magic set report=0 set splitbelow set whichwrap=<,>,h,l,[,] set wildchar= set wrapmargin=1 set modeline set modelines=1 " Switch syntax highlighting on, when the terminal has colors if &t_Co > 2 || has("gui_running") syntax on endif "if &term=="xterm" " set term=rxvt " set t_Co=8 " set t_Sb=^[4%dm " set t_Sf=^[3%dm "endif if has("gui_running") set gfn=Monospace\ 10 endif let FILE=expand("~/.resources/abbrev.vim") if filereadable(FILE) exe "source " FILE endif if has("autocmd") " mail & news syntax autocmd FileType mail source ~/.resources/mail.vim "autocmd FileType perl source ~/.resources/perl.vim autocmd FileType perl set ts=4 nu autocmd FileType slrn source ~/.resources/slang.vim autocmd FileType slang source ~/.resources/slang.vim autocmd FileType python source ~/.resources/python.vim endif " ISO-8859-15 encoding. "set encoding=iso-8859-15 set encoding=utf-8 "set guifont=-b&h-lucidatypewriter-medium-r-normal-*-*-140-*-*-m-*-iso8859-15 " PAR: first for command mode, second for insert mode map {!}par -72jfig imap {!}par -72jfg}i " ROT13 Encription in Visual Mode. vmap :!tr A-Za-z N-ZA-Mn-za-m " , jump to next (previous) make output. map :cp map :cn au VimLeave * echo " Vim"version" " " `Cut' mark for email. imap ----------------------------[ cut ]---------------------------------- " Date string map :r!date +\%a,\ \%e\ \%b\ \%Y\ \%T\ \%z " reformat current paragraph with CTRL-J set formatoptions=cqrt map gqip " vim:tw=80 ts=4 et