I've been using emacs for a while, but am being quite dismayed by some quite hectic pinky-pain, so have just started using Chris Done's god-mode
, which is great, I like it so far.
The problem is that with a few buffers open it's hard to easy know if I'm in god-mode
in the given buffer.
I'm not accustomed to this "vim" way of doing things and am being confused by which buffer is currently in "god-mode".
So the question is generally:
How do I make a buffer (either in the mode-line or in some other place) more distinctive in some way when I'm in a particular minor-mode, in my case in god-mode, so I don't have to move my eyes to the mode-line or test by pressing something.
_God
to_GOD!
? github.com/chrisdone/god-mode/blob/master/god-mode.el#L98 Do you want this to be a different color? What do you want the entire mode-line background to change colors? Do you want ...? Here is an example for Magnar's mutliple-cursor library for a :lighter that changes depending upon the number of cursors: github.com/magnars/multiple-cursors.el/blob/master/…face-remapping-alist
with the functionface-remap-add-relative
: stackoverflow.com/a/28008006/2112489 Create a simple function to turn it on and attach that function to thegod-mode-enabled-hook
and turn it off with a similar function attached to thegod-mode-disabled-hook
. It could be a subtle color change, or an eye-popping change, whatever suits your personal taste.