From 518d9698777610c32b50ac83d8a9463be91f0563 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Mon, 30 Mar 2009 12:05:43 +0000 Subject: [PATCH] Use a different escape sequence for magenta. Terminal.app (which only supports 16 colours) running screen in 256-colour mode renders colours 88 and 89 as red. Use colour 90 for magenta. Terminals with real 256-colour functionality show only a subtle difference between the two colours. git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@185 6be0d1a5-5cfe-0310-89b6-964be062b18b --- .vimrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.vimrc b/.vimrc index 8385302..9fba99c 100644 --- a/.vimrc +++ b/.vimrc @@ -405,18 +405,20 @@ fun! Highlight_StatusLine(flag) " Held in insert mode. Add extra highlight if we don't have focus. if b:iainstatus =~# "f" let s:colour = "darkred" + let s:term88colour = "32" + let s:term256colour = "88" else let s:colour = "darkmagenta" + let s:term88colour = "33" + let s:term256colour = "90" endif - let s:term88colour = "33" - let s:term256colour = "89" endif else if b:iainstatus =~# "I" " Regular insert mode. let s:colour = "darkmagenta" let s:term88colour = "33" - let s:term256colour = "89" + let s:term256colour = "90" endif endif -- 2.7.4