diff --git a/my_configs.vim b/my_configs.vim index 28a79f8a..379babfe 100644 --- a/my_configs.vim +++ b/my_configs.vim @@ -7,7 +7,17 @@ set noshowmode " Block can move outside of bounds" set virtualedit=block -set guifont=Source\ Code\ Pro:h11 +" Set font according to system +if has("mac") || has("macunix") + set guifont=Source\ Code\ Pro:h15,Menlo:h15 +elseif has("win16") || has("win32") + set guifont=Source\ Code\ Pro:h12,Bitstream\ Vera\ Sans\ Mono:h11 +elseif has("linux") + set guifont=Source\ Code\ Pro\ h12,Bitstream\ Vera\ Sans\ Mono:h11 +elseif has("unix") + set guifont=Monospace\ 11 +endif +" set guifont=Source\ Code\ Pro\ 11 nmap rb :call DeleteTrailingWS()