-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vimrc
55 lines (50 loc) · 1.17 KB
/
.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
"General
execute pathogen#infect()
set nocompatible
"Filetype handling
filetype on
filetype plugin indent on
au BufRead,BufNewFile *.q setfiletype q
"Editor Settings
set textwidth=79
set tabstop=4
set softtabstop=4
set shiftwidth=4
set expandtab
set number
set hidden
set nowrap
"Interface
set go=eb
colorscheme desertmod
set guifont=Inconsolata\ Medium\ 12
set list
if has('win32')
set listchars=tab:›\ ,eol:¬
endif
if has('unix')
set listchars=tab:▸\ ,eol:¬
endif
"Rainbow Parentheses colours
let g:rbpt_colorpairs = [
\ ['brown', 'goldenrod3'],
\ ['Darkblue', 'sienna1'],
\ ['darkgray', 'IndianRed1'],
\ ['darkgreen', 'OliveDrab1'],
\ ['darkcyan', 'sienna4'],
\ ['darkred', 'LightSkyBlue4'],
\ ['darkmagenta', 'OliveDrab4'],
\ ['brown', 'IndianRed4'],
\ ['gray', 'goldenrod4'],
\ ['black', 'sienna3'],
\ ['darkmagenta', 'LightSkyBlue3'],
\ ['Darkblue', 'OliveDrab3'],
\ ['darkgreen', 'IndianRed3'],
\ ['darkcyan', 'goldenrod3'],
\ ['darkred', 'sienna1'],
\ ['red', 'IndianRed1'],
\ ]
"Remap escape key
inoremap jf <Esc>
noremap hg <Esc>
inoremap hg <Esc>