commit a467d2144156472d463d839ad8083145691a99e6 (patch)
parent bd010f1b31d504139a48983d7385ee43a6468b01
Author: Alexander Karle <akarle@umass.edu>
Date: Sat, 17 Nov 2018 12:07:46 -0500
vim: Update gvim size to have better default for mac
My mac has a much higher resolution display, so h11 is small.
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/vim/gvimrc b/vim/gvimrc
@@ -8,9 +8,15 @@ set printfont=Consolas:h11
" Minimal UI
set guioptions= " Don't show guioptions (toolbar, scrollbar,..)
-set guifont=Consolas:h11 " Font that doesn't hurt my eyes
set guicursor=a:blinkon0 " Don't blink the cursor (not my thang)
+" Font that doesn't hurt my eyes at a size depending on the screen
+if has('gui_macvim')
+ set guifont=Inconsolata:h15
+else
+ set guifont=Consolas:h11
+end
+
" Bigger size on startup
set lines=50
set columns=100