-
Notifications
You must be signed in to change notification settings - Fork 6
/
gvimrc
59 lines (54 loc) · 1.29 KB
/
gvimrc
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
"set guifont
if has("gui_macvim")
"for mac
set guifont=Monaco:h16
else
"for ubuntu
set guifont=Monospace\ 12
endif
"colorscheme: blackboard github solarized
"color solarized
"color github
"set background=dark | light
"set background=light
hi ExtraWhitespace guibg=#882424
"----------------------------
" Invisible character colors
"----------------------------
"highlight NonText guifg=#4a4a59
"highlight SpecialKey guifg=#4a4a59
"-----------------------------------------------------
" tab navigation
"
" terminals doesn't see difference
" between <tab> and <c-tab>
"------------------------------------------------------
noremap <c-tab> gt
noremap <c-s-tab> gT
"---------------------------------------------------
" DOES NOT WORK on ubuntu gnome-termial
" alt-[0-9] is shortcuts for terminal tab switching
"---------------------------------------------------
if has('gui_macvim')
noremap <D-1> 1gt
noremap <D-2> 2gt
noremap <D-3> 3gt
noremap <D-4> 4gt
noremap <D-5> 5gt
noremap <D-6> 6gt
noremap <D-7> 7gt
noremap <D-8> 8gt
noremap <D-9> 9gt
noremap <D-0> :tablast<cr>
else
noremap <a-1> 1gt
noremap <a-2> 2gt
noremap <a-3> 3gt
noremap <a-4> 4gt
noremap <a-5> 5gt
noremap <a-6> 6gt
noremap <a-7> 7gt
noremap <a-8> 8gt
noremap <a-9> 9gt
noremap <a-0> :tablast<cr>
end