aboutsummaryrefslogtreecommitdiff
path: root/vim/gvimrc
blob: 128a396a7c432e157f9b89bfee6900b17a4c3134 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
" My choice of font changes depending on which operating system I'm using;
" these are both workable monospace fonts, but Ubuntu Mono doesn't render very
" nicely on Windows a lot of the time
if has('unix')
  silent! let &guifont = 'Ubuntu Mono 12'
else
  silent! let &guifont = 'Consolas:h11'
endif

" Reset guioptions
set guioptions=
" Use the system GUI clipboard
set guioptions+=a
" Use console dialogs instead of popup windows
set guioptions+=c
" Use the gVim icon
set guioptions+=i

" When the GUI starts, t_vb is reset to its default value, so it's necessary
" to repeat this line from my .vimrc file that turns off visual bells
set visualbell t_vb=