-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.exrc.light
41 lines (40 loc) · 823 Bytes
/
.exrc.light
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
set nocompatible
set bg=light
set showmode
set noprompt
set autoindent
set noruler
set nuw=1
set t_ti= t_te=
set t_md=
set t_Co=256
set noloadplugins
set ts=2
set sts=2
set shiftwidth=2
set expandtab
map f !}fmt -w79
map z :w<CR> :set nu<CR> :$r !cc %<CR><CR>
map Z :!./a.out<CR>
map t :set nonu<CR>
map T :set nu<CR>
noremap Q :set nu<CR> Q
filetype on
syntax on
hi LineNr cterm=NONE ctermfg=grey
autocmd FileType yaml
\ syn match item /.\+\w\+:$/ contains=com |
\ syn match item2 /.\+\w\+: / contains=com |
\ syn match com /.#.*$/ |
\ syn match com /^#.*$/ |
\ hi item ctermfg=darkblue |
\ hi item2 ctermfg=darkblue |
\ hi com ctermfg=black
autocmd FileType vim
\ set filetype=text |
\ syn match com /^".*$/ |
\ hi com ctermfg=darkblue
if $_ == "/usr/bin/ex"
set nu
endif
let g:loaded_matchparen=1