-
Notifications
You must be signed in to change notification settings - Fork 0
/
gvimrc
38 lines (34 loc) · 853 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
" ~/.vim/gvimrc
" Author: Markus Hubig <[email protected]>
" Source: https://github.com/mhubig/vim
"
" Some GUI options to get a clean user interface
set background=light
set guioptions-=T
set guioptions-=r
set guioptions-=l
set guioptions-=b
" Disable Beeping and blinking on input errors
set noerrorbells
set visualbell
set t_vb=
" Set the font and size depending on the OS
if has("unix")
let s:uname = system("uname")
if s:uname == "Darwin\n"
let s:hostname = substitute(system('hostname -s'), '\n', '', '')
set guifont=Source\ Code\ Pro\ for\ Powerline:h13
if s:hostname == "bigmac"
set columns=82
set lines=44
else
set columns=100
set lines=56
endif
elseif s:uname == "Linux\n"
set guifont="Ubuntu Mono:h12"
set columns=100
set lines=56
endif
endif
" vim:set ft=vim et tw=78 sw=2: