From ceb0b307ff422773d07aafb9899a8885aea30d69 Mon Sep 17 00:00:00 2001 From: arcan1s Date: Mon, 31 Aug 2015 06:49:16 +0300 Subject: [PATCH] try-catch for colour scheme --- vimrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index 504c8f3..81e5b03 100644 --- a/vimrc +++ b/vimrc @@ -5,7 +5,11 @@ set encoding=utf-8 "" appearance " color scheme set t_Co=256 -colorscheme advantage +try + colorscheme advantage +catch /^Vim\%((\a\+)\)\=:E185/ + colorscheme koehler +endtry " count of lines w\o scrolling at the top and bottom set scrolloff=3