-
Notifications
You must be signed in to change notification settings - Fork 0
/
gvimrc
29 lines (24 loc) · 808 Bytes
/
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
" SET COLOR SCHEME
:colorscheme sole-graphic
" SET FONT FACE (WORKS ON THE GUI ONLY)
" http://www.levien.com/type/myfonts/inconsolata.html
set guifont=Monaco:h14
" REMAP KEYS FOR EASY TABBING WITH THE KEYBOARD WHEN USING MACVIM
if has("gui_macvim")
" Press Ctrl-Tab to switch between open tabs (like browser tabs) to
" the right side. Ctrl-Shift-Tab goes the other way.
noremap <C-Tab> :tabnext<CR>
noremap <C-S-Tab> :tabprev<CR>
" Switch to specific tab numbers with Command-number
noremap <D-1> :tabn 1<CR>
noremap <D-2> :tabn 2<CR>
noremap <D-3> :tabn 3<CR>
noremap <D-4> :tabn 4<CR>
noremap <D-5> :tabn 5<CR>
noremap <D-6> :tabn 6<CR>
noremap <D-7> :tabn 7<CR>
noremap <D-8> :tabn 8<CR>
noremap <D-9> :tabn 9<CR>
" Command-0 goes to the last tab
noremap <D-0> :tablast<CR>
endif