-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
29 lines (29 loc) · 830 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
"execute pathogen#infect()
let c_no_curly_error=1
syntax on
filetype indent on
set sw=4 ts=8 et
set matchpairs+=<:>
set list listchars=tab:»·,trail:·
"set ai cin
set cino=(s,:0,g0
set completeopt=longest,menu,preview
set formatoptions+=cro
set ignorecase smartcase incsearch
set hlsearch
set backspace=indent,eol,start
set ruler
set tabpagemax=100
set wildmode=longest,list
set wildmenu
set belloff+=wildmode
au FileType cmake setlocal sw=2
au FileType javascript setlocal sw=2
au FileType make setlocal noet
au BufNewFile,BufRead *.md setlocal filetype=markdown
au BufNewFile,BufRead .clang-format setlocal filetype=yaml
au BufNewFile,BufRead *.toml setf dosini
au FocusGained,CursorHold,CursorMoved,WinEnter,TabEnter * checktime
hi DiffChange ctermbg=LightYellow
hi DiffAdd ctermbg=LightCyan
hi DiffText ctermbg=LightMagenta