-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
40 lines (38 loc) · 841 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
filetype plugin indent on
syntax enable
set hid bs=2 ar
set nobk nowb noswf
set wmnu wim=longest:full,full vb ru ls=2 spr sb
set ai si is ic scs
set cb+=unnamed,unnamedplus
set enc=utf-8
set sw=4 ts=4 noet sta sts=4
set nowrap nu rnu nohls tw=80 so=5
set spelllang=en_us
let &showbreak = '+++ '
set list listchars=tab:»\ ,extends:?,precedes:?
set guioptions-=m
set guioptions-=T
set guioptions-=r
set guioptions-=L
set guifont=Consolas:h12
au GUIEnter * sim ~x
set bg=light
highlight LineNr guifg=lightgrey
colo peachpuff
ino jf <esc>
ino fj <esc>
nno <space>d :bd<CR>
nno <space>j o<esc>
nno <space>k O<esc>
nno <space>m :e $MYVIMRC<cr>
nno <space>o :only<CR>
nno <space>q :q<cr>
nno <space>s :sp<cr>
nno <space>v :vs<cr>
nno <space>w :w<cr>
nno <space>= <c-w>=
nno <F2> :bp<cr>
nno <F3> :bn<cr>
nno <F5> :w\|so\ %<cr>
nno <c-w> <c-w>w