-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
45 lines (31 loc) · 864 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
" Disable vi compat
set nocompatible
set background=dark
" Add syntax color
syntax on
" Add line Nr on the right
set ruler
" Enable filetype plugins
"filetype plugin on
filetype indent on
" Set to auto read when a file is changed from the outside
set autoread
" Highlight search results
set hlsearch
" Makes search act like search in modern browsers
set incsearch
" Show matching brackets when text indicator is over them
set showmatch
" How many tenths of a second to blink when matching brackets
set mat=2
" No annoying sound on errors
set noerrorbells
set novisualbell
set t_vb=
set tm=500
" Always show the status line
set laststatus=2
" Format the status line
set statusline=\%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l
"disable creation of comment on past
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o