forked from DeMarko/dotvim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gvimrc
38 lines (33 loc) · 829 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
30
31
32
33
34
35
36
37
38
colorscheme molokai
set cursorline
set colorcolumn=85 " have a colored column at 85
set fuoptions=maxvert,maxhorz
set guioptions+=T
set guioptions-=l " no left scrollbar
set guioptions-=L
set guioptions-=r " no right scrollbar
set guioptions-=R
highlight SpellBad term=underline gui=undercurl guisp=Orange
" Rainbows!
nnoremap <leader>R :RainbowParenthesesToggle<CR>
" tab navigation
nmap <C-w> :tabclose<cr>
nmap <C-t> :tabnew<cr>
nmap <C-Tab> :tabnext<cr>
nmap <C-S-Tab> :tabprev<cr>
if has("gui_macvim")
set guifont=Menlo:h12
" For mac users (using the 'apple' key)
map <D-S-]> gt
map <D-S-[> gT
map <D-1> 1gt
map <D-2> 2gt
map <D-3> 3gt
map <D-4> 4gt
map <D-5> 5gt
map <D-6> 6gt
map <D-7> 7gt
map <D-8> 8gt
map <D-9> 9gt
map <D-0> :tablast<CR>
endif