From e2b0394e13fde967ccb9726b8979aa1273c072be Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Wed, 6 Feb 2008 14:34:37 +0000 Subject: [PATCH] Change statusline colour when entering insert mode. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@100 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .vimrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.vimrc b/.vimrc index 1017617..d962c8e 100644 --- a/.vimrc +++ b/.vimrc @@ -337,6 +337,10 @@ endif if version >= "700" version 7.0 +" Change status bar colour when entering insert mode. +au InsertEnter * highlight StatusLine guifg=white guibg=darkred ctermbg=white ctermfg=darkred +au InsertLeave * highlight StatusLine guifg=white guibg=blue ctermbg=white ctermfg=blue + " Make diffs vertical by default. se diffopt+=vertical -- 2.20.1