-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.vimrc
61 lines (46 loc) · 739 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
syntax on
filetype plugin on
set background=dark
set showmatch
set comments=sl:/*,mb:*,elx:*/
set ruler
set incsearch
set scrolloff=3
set et
set sw=4
set ts=4
set sts=4
set nu
highlight LineNr ctermfg=DarkCyan ctermbg=darkblue
set ai
set nocompatible
set si
set backspace=start,indent,eol
set hi=1000
set ru
set noet
set magic
set sol
set scs
set autoindent
set smartindent
set tabstop=4
set shiftwidth=4
filet plugin indent on
set expandtab
set mouse=a
vmap <ESC>[Z <s-tab>
vnoremap > >gv
vnoremap < <gv
map <tab> >
map <s-tab> <
map k gk
map j gj
map <up> gk
map <down> gj
imap <up> <c-o>gk
imap <down> <c-o>gj
autocmd BufReadPost *
\ if line("'\"") > 0 && line("'\"") <= line("$") |
\ exe "normal g`\"" |
\ endif