I currently have my status line set up so that it\'s orange in insert mode and white otherwise. I\'d like to make it go another color when I drop back to normal mode if the file
I think that you are looking for
:echo &mod[ified]
which returns 1 if modified and 0 if not modified.
1
0