From 96153ec039613c9f879fcb82aeee913c817c81bf Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 4 Nov 2017 23:10:17 +1300 Subject: Use variable setting approach for 'guifont' A little easier to read. --- vim/gvimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vim') 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; -- cgit v1.2.3