Main

Vimrc

« | Unix Dot Files | »

set autowrite
set nobackup
set backspace=2
set nocompatible
set comments=b:#,:%,fb:-,n:>,n:)
set hidden
set highlight=8r,db,es,hs,mb,Mr,nu,rs,sr,tb,vr,ws
set noicon
set noignorecase
set magic
set nomodeline
set nonumber
set report=0
set ruler
set shell=/bin/bash
set showcmd
set showmatch
set shortmess=at
set showmode
set suffixes=.bak.swp
set tabstop=4
set notitle
"set whichwrap=<,>
"set wrapmargin=1
set nowritebackup
map K <C-V>
map <C-Z> :shell<CR>
noremap <C-^> <C-^>`"
map :W :w
"cnoremap <C-A> <Home>
cnoremap <C-F> <Right>
cnoremap <C-B> <Left>
cnoremap <ESC>b <S-Left>
cnoremap <ESC>f <S-Right>
cnoremap <ESC><C-H> <C-W>
"nmap <C-A>  0
nmap <C-B>  h
nmap <C-D>  x
nmap <C-E>  $
nmap <C-F>  l
nmap <ESC>b b
nmap <ESC>f w
map <ESC>OA <Up>
map <ESC>OB <Down>
map <ESC>OC <Right>
map <ESC>OD <Left>
imap <ESC>OA <Up>
imap <ESC>OB <Down>
imap <ESC>OC <Right>
imap <ESC>OD <Left>
imap <ESC>[A <Up>
imap <ESC>[B <Down>
imap <ESC>[C <Right>
imap <ESC>[D <Left>
map <C-V>127 <C-H>
nmap Q gq
vmap Q gq
vmap ,dot :s/\.\+ \+/.  /g
syn on
set hlsearch
set t_me=^[[1;0;40m     " normal mode (undoes t_mr and t_md)
set t_mr=^[[1;33;44m    " reverse (invert) mode
set t_md=^[[1;36;40m    " bold mode
set t_se=^[[1;0;40m     " standout end
set t_so=^[[0;1;35;40m  " standout mode start
set t_ue=^[[1;0;40m     " underline end
set t_us=^[[0;1;31;40m  " underline mode start
set t_ZR=^[[1;0;40m     " italic end
set t_ZH=^[[0;1;33;40m  " italic mode start