" vim not vi
set nocompatible
" save cmd history
set history=50
" show line number
set number
" show cursor position
set ruler
" show enter cmd
set showcmd
" show find word when enter search word
" hightlight search
set incsearch
set hlsearch
"set enter ">" width
set shiftwidth=4
" set enter <TAB> width
set softtabstop=4
" plugin on depend on filetype
filetype plugin on
syntax on
" let enter h,j,k,l can goto
" next line
set whichwrap=b,s,<,>,[,]
" show all list,eg. >-----
set list
" define list char
set listchars=tab:>-,eol:-
" define a word is consist
" of...
set iskeyword+=-
" cmd windows width
set cmdheight=2
"
" color scheme
colorscheme evening
" bachup file
set backup
" a line width
" set textwidth=80
" enter %,add <>
set mps+=<:>
" autoindent
set autoindent