forked from zma/config_files
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
29 lines (20 loc) · 803 Bytes
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
" vimrc
" Zhiqiang Ma, eric.zq.ma [at] gmail.com
"
set number " show line number
set backup " keep a backup file
set backupdir=~/.vibackup " keep all backup files in one central dir
set backupcopy=yes
set tabstop=4
set shiftwidth=4
set expandtab
set autoindent " always set autoindenting on
set cindent " indent c code
syntax on
set incsearch " do incremental searching
set hlsearch " high light the search content
set history=50 " keep 50 lines of command line history
set ruler " show the cursor position all the time
set showcmd " display incomplete commands
set fileencodings=utf-8,gbk,ucs-bom,latin1 " good for Chinese charactor
" set mouse=a " move cursor by mouse click