-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.vimrc
46 lines (45 loc) · 924 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
if filereadable("/etc/vim/vimrc.local")
source /etc/vim/vimrc.local
endif
"Personal Settings by Xifan TANG
"-----------------
"Basic Settings
"-----------------
"
"Don't use incompatible keyboard
"set nocompatible
"detect file type
filetype on
"set history lines
set history=1000
"Use mouse at any buffer place
if has('mouse')
set mouse=a
endif
set selection=exclusive
set selectmode=mouse,key
"------------------------
"User Interface Settings
"------------------------
"show line number
set nu!
"set background color
set background=dark
"------------
"Set format
"-----------
"Auto change line
set wrap
"set tab equals to 4 space
set tabstop=4
"----------------------------
"Programming Settings
"---------------------------
syntax on
"Set match mode, matching the parenthose
set showmatch
"------------------------
"Searching settings
"-----------------------
"Off the auto-highlight of matched words
set nohlsearch