From af3b93e85f4eb52b61aa28ef5a003e8b4b8a2bb6 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 7 Dec 2012 10:23:17 -0500 Subject: [PATCH] Update vim settings --- .gvimrc | 4 ++-- .vimrc | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.gvimrc b/.gvimrc index 9826fb7..de1c9b3 100644 --- a/.gvimrc +++ b/.gvimrc @@ -1,5 +1,5 @@ source ~/.vimrc -colorscheme Tomorrow-Night-Blue +set guioptions=aci + winsize 80 50 -set guifont=Consolas\ 10 diff --git a/.vimrc b/.vimrc index dc6a96d..77145a6 100644 --- a/.vimrc +++ b/.vimrc @@ -50,3 +50,19 @@ filetype plugin on filetype indent on " --- }}} +" --- Style and font --------------------------------------------------------{{{ +if has('gui_running') + colorscheme Tomorrow-Night-Blue +elseif $COLORTERM == 'gnome-terminal' + set term=gnome-256color + colorscheme Tomorrow-Night-Blue +else + colorscheme default +endif + +if has("gui_gtk2") + set guifont=Ubuntu\ Mono\ 10 +else + set guifont=Ubuntu\ Mono:01 +endif +" --- }}}