-
Notifications
You must be signed in to change notification settings - Fork 4
/
gvimrc
executable file
·31 lines (25 loc) · 908 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
if has("gui_macvim")
set antialias " MacVim: smooth fonts.
set encoding=utf-8 " MacVim: use UTF-8 everywhere.
set guioptions-=T " MacVim: hide toolbar.
set guioptions-=r " MacVim: hide right scrollbar.
set guioptions-=L " MacVim: hide left scrollbar.
endif
set background=dark " Dark background.
colorscheme badwolf
set guifont=Inconsolata:h20 " Decent font.
highlight SPELLING guibg=blue " Highlight likely typos.
match SPELLING /toin/
" Size and position window for different displays.
nnoremap <silent> <Leader>dc :call Cinema()<CR>
function! Cinema()
set lines=126 columns=124
winpos 1075 1570
endfunction
nnoremap <silent> <Leader>dl :call Laptop()<CR>
function! Laptop()
set lines=71 columns=120
winpos 365 878
endfunction
macmenu &File.New\ Tab key=<nop>
map <D-t> <Plug>PeepOpen