vim vimrc

set nu

 

set shiftwidth=4

set tabstop=4

set softtabstop=4

 

set autoindent

set cindent

set smartindent

filetype indent on

 

set ai!

 

set hlsearch

set incsearch

set showmatch

 

set backspace=2

set background=dark

colorscheme elflord

 

set fileencodings=utf-8,gbk,ucs-bom,cp936

set vb t_vb=

syntax on

 

filetype on

 

你可能感兴趣的:(vim)