From b924ee2e73c31b6bbb832b4d5fa59c61e2d451d6 Mon Sep 17 00:00:00 2001 From: doyle Date: Wed, 22 Jul 2020 22:15:30 +1000 Subject: [PATCH] Make Windows use consolas --- Installer/_vimrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Installer/_vimrc b/Installer/_vimrc index a9df802..458ea68 100644 --- a/Installer/_vimrc +++ b/Installer/_vimrc @@ -2,6 +2,8 @@ " Windows/Linux differences let s:running_windows = has("win16") || has("win32") || has("win64") +set nocompatible + if s:running_windows let g:myvimdir ="~/vimfiles" silent! call plug#begin('~/vimfiles/plugged') @@ -106,15 +108,15 @@ let g:gruvbox_bold=0 colorscheme gruvbox if has("gui_running") - set guifont=InputMonoCondensed:h10 " NOTE(doyle): Some list chars in gui don't show correctly in terminal so separate logic " old listchars=tab:>-,eol:¬,trail:■,extends:»,precedes:« set listchars+=trail:■,extends:»,precedes:« if s:running_windows - " Go full screen, cmd only compatible with windows - " au GUIEnter * simalt ~x + set guifont=Consolas:h11 + else + set guifont=InputMonoCondensed:h10 endif " Don't show trailing spaces in insert mode