config file location
1. MinGW: C:MinGWmsys1.0sharevimvimrc
2. Linux: home
config file content
comment mark: one double quotation mark (")
set autoindent " Auto-indent new lines
set background=dark " This tells vim to use colors which look good on a dark background
set columns=80 " This simply sets the number of columns used on the screen.
set history=50 " keep 50 lines of command line history
set hlsearch " Highlight all search results
highlight Search cterm=NONE ctermfg=grey ctermbg=blue
set ignorecase " Always case-insensitive
set incsearch " Searches for strings incrementally
set linebreak " Break lines at word (requires Wrap lines)
"set no wrap " Wrap lines
set number " Show line numbers