Open whirm opened 3 years ago
A great idea, thank you :-). We would need to change to our old buffer input method, or do some other magic to make it happen. We shall see!
Actually, if HTML / CSS do not allow for cursor customization, isn't it because it belongs to... the hosting toolkit, that is, GTK here?
https://developer.gnome.org/gtk3/stable/chap-css-properties.html
Look for "caret-color". Maybe we can do more.
I don't use Evil, I use god-mode, but my configuration has pretty much the same thing.
Evil has this feature where it changes the cursor color and shape depending on the mode a buffer is in.
I find greatly useful as it allows one to quickly tell the mode without having to move your focus to the modeline and back repeatedly.
It saves me a ridiculous amount of mistakes caused by thinking I'm on a different mode.
Some screenshots to illustrate:
Insert mode:
Visual mode:
Unfocused buffer in visual mode:
Emacs mode:
Cheers!