把下面的设置写到 .vimrc 中
如果没有自己创建一个
mkdir ~/.vimrc
1 set nu
2 syntax enable
3 syntax on
4 set showmatch
5 set history=4000
6 set tabstop=4
7 set hls
8 set ruler
9 set showcmd
10 set novisualbell
11 set nocompatible
12 "colorscheme evening
13 set noeb
14 set autoindent
15 set cindent
16 set hlsearch
17 set incsearch