在vimrc文件中添加如下配置:
set nocompatible
set number
filetype indent plugin on
syntax enable
syntax on
colorscheme desert
set tags=tags
set autochdir
set ruler
set showcmd
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
set showmatch
set lines=50 columns=150
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1