Make Windows use consolas
This commit is contained in:
parent
5ae066465c
commit
b924ee2e73
@ -2,6 +2,8 @@
|
|||||||
" Windows/Linux differences
|
" Windows/Linux differences
|
||||||
let s:running_windows = has("win16") || has("win32") || has("win64")
|
let s:running_windows = has("win16") || has("win32") || has("win64")
|
||||||
|
|
||||||
|
set nocompatible
|
||||||
|
|
||||||
if s:running_windows
|
if s:running_windows
|
||||||
let g:myvimdir ="~/vimfiles"
|
let g:myvimdir ="~/vimfiles"
|
||||||
silent! call plug#begin('~/vimfiles/plugged')
|
silent! call plug#begin('~/vimfiles/plugged')
|
||||||
@ -106,15 +108,15 @@ let g:gruvbox_bold=0
|
|||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
|
|
||||||
if has("gui_running")
|
if has("gui_running")
|
||||||
set guifont=InputMonoCondensed:h10
|
|
||||||
|
|
||||||
" NOTE(doyle): Some list chars in gui don't show correctly in terminal so separate logic
|
" NOTE(doyle): Some list chars in gui don't show correctly in terminal so separate logic
|
||||||
" old listchars=tab:>-,eol:¬,trail:■,extends:»,precedes:«
|
" old listchars=tab:>-,eol:¬,trail:■,extends:»,precedes:«
|
||||||
set listchars+=trail:■,extends:»,precedes:«
|
set listchars+=trail:■,extends:»,precedes:«
|
||||||
|
|
||||||
if s:running_windows
|
if s:running_windows
|
||||||
" Go full screen, cmd only compatible with windows
|
set guifont=Consolas:h11
|
||||||
" au GUIEnter * simalt ~x
|
else
|
||||||
|
set guifont=InputMonoCondensed:h10
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" Don't show trailing spaces in insert mode
|
" Don't show trailing spaces in insert mode
|
||||||
|
Loading…
Reference in New Issue
Block a user