From 3a2529b801d0e3dac7a7a39facfa7711d0192ff1 Mon Sep 17 00:00:00 2001 From: vignesh Date: Mon, 28 Nov 2016 22:03:51 +0530 Subject: [PATCH] Added windows font --- my_configs.vim | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/my_configs.vim b/my_configs.vim index d2bd4171..ec24cb3e 100755 --- a/my_configs.vim +++ b/my_configs.vim @@ -1,8 +1,19 @@ set cmdheight=1 nmap q :q -set gfn=Source\ Code\ Pro\ for\ Powerline\ Medium\ 11 -""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +if has("mac") || has("macunix") + set gfn=Hack:h14,Source\ Code\ Pro:h15,Menlo:h15 +elseif has("win16") || has("win32") + set gfn=Source_Code_Pro_Medium:h12,Bitstream\ Vera\ Sans\ Mono:h11 +elseif has("gui_gtk2") + set gfn=Hack\ 14,Source\ Code\ Pro\ 12,Bitstream\ Vera\ Sans\ Mono\ 11 +elseif has("linux") + set gfn=Source\ Code\ Pro\ for\ Powerline\ Medium\ 11 +elseif has("unix") + set gfn=Monospace\ 11 +endif + +"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " => Nerd Tree Config """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif