Swapped Insert and Insert/Held statusline colours.
authorIain Patterson <me@iain.cx>
Thu, 19 Feb 2009 17:29:29 +0000 (17:29 +0000)
committerIain Patterson <me@iain.cx>
Thu, 19 Feb 2009 17:29:29 +0000 (17:29 +0000)
git-svn-id: https://svn.cambridge.iain.cx/profile/trunk@176 6be0d1a5-5cfe-0310-89b6-964be062b18b

.vimrc

diff --git a/.vimrc b/.vimrc
index 3ba782a..8385302 100644 (file)
--- a/.vimrc
+++ b/.vimrc
@@ -404,19 +404,19 @@ fun! Highlight_StatusLine(flag)
     if b:iainstatus =~# "I"
       " Held in insert mode.  Add extra highlight if we don't have focus.
       if b:iainstatus =~# "f"
-        let s:colour = "darkmagenta"
-      else
         let s:colour = "darkred"
+      else
+        let s:colour = "darkmagenta"
       endif
-      let s:term88colour = "32"
-      let s:term256colour = "88"
+      let s:term88colour = "33"
+      let s:term256colour = "89"
     endif
   else
     if b:iainstatus =~# "I"
       " Regular insert mode.
-      let s:colour = "darkred"
-      let s:term88colour = "32"
-      let s:term256colour = "88"
+      let s:colour = "darkmagenta"
+      let s:term88colour = "33"
+      let s:term256colour = "89"
     endif
   endif