aboutsummaryrefslogtreecommitdiff
path: root/vim/gvimrc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 23:10:17 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 23:10:17 +1300
commit96153ec039613c9f879fcb82aeee913c817c81bf (patch)
tree5821b9ec54075e2e42f9ee52d25af1c510356a6c /vim/gvimrc
parentMerge branch 'feature/space-dots' into develop (diff)
downloaddotfiles-96153ec039613c9f879fcb82aeee913c817c81bf.tar.gz
dotfiles-96153ec039613c9f879fcb82aeee913c817c81bf.zip
Use variable setting approach for 'guifont'
A little easier to read.
Diffstat (limited to 'vim/gvimrc')
-rw-r--r--vim/gvimrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/gvimrc b/vim/gvimrc
index 286b84ba..33ee592e 100644
--- a/vim/gvimrc
+++ b/vim/gvimrc
@@ -2,9 +2,9 @@
" 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! set guifont=Ubuntu\ Mono\ 12
+ silent! let &guifont = 'Ubuntu Mono 12'
else
- silent! set guifont=Consolas:h11
+ silent! let &guifont = 'Consolas:h11'
endif
" Use the system GUI clipboard; use console dialogs instead of popup windows;