Monday, March 28, 2011

vimrc

set nocompatible
set mouse=a
behave mswin



syntax on
filetype on
filetype indent on
filetype plugin on

map :
map
map
map
map
imap
imap
imap
imap

let mapleader=";"
map w :w!
map q :close
map [
map ]
map

map j :bn
map k :bp
map bd :bd

map tn :tabnew
map l :tabn
map h :tabp
map :tabnew
map :tabn
map :tabp

map :noh

map tl :TlistToggle
map gf :NERDTree

set history=50
set autoread
set ts=4
set expandtab
set smarttab
set shiftwidth=4
set autoindent
set smartindent
set cindent
set scrolloff=5
set wildchar=
set wildmenu
set cmdheight=1
set ruler
set nu
set lz
set hid
set whichwrap+=<,>,h,l
set ignorecase
set incsearch
set magic
set showmatch
set hlsearch
set laststatus=2
set statusline=\ %P\ %F%m%r%h\ %y\ %w\ \ CWD:\ %{getcwd()}%h\ \ Line:\ %l/%L:%c
set showmatch
set showmode

No comments:

Post a Comment