aboutsummaryrefslogtreecommitdiff
path: root/vim/gvimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-02-22 17:11:34 +1300
committerTom Ryder <tom@sanctum.geek.nz>2012-02-22 17:11:34 +1300
commit2b61b5e64ef7d42e15f3601b6000b461f0036fa8 (patch)
tree94ad20f54fccd6de7145f212f13a88a29bf015e2 /vim/gvimrc
parentHere's a more sensible solution. (diff)
downloaddotfiles-2b61b5e64ef7d42e15f3601b6000b461f0036fa8.tar.gz
dotfiles-2b61b5e64ef7d42e15f3601b6000b461f0036fa8.zip
OS detection for gvimrc.
Diffstat (limited to 'vim/gvimrc')
-rw-r--r--vim/gvimrc6
1 files changed, 5 insertions, 1 deletions
diff --git a/vim/gvimrc b/vim/gvimrc
index eb961f56..e9673d70 100644
--- a/vim/gvimrc
+++ b/vim/gvimrc
@@ -1,5 +1,9 @@
" GUI
-silent! set guifont=Inconsolata\ 14
+if has("unix")
+ silent! set guifont=Inconsolata\ 14
+else
+ silent! set guifont=Consolas:h12
+endif
set guioptions=aci
set visualbell t_vb=