Evil currently sets the cursor color to black which conflicts with my color-theme. Any ideas for a general solution to this problem? Commenting out (set-cursor-color ... ) in the evil code works for me. Regards Thomas
On 2011-07-30 12:30 +0200, Thomas Hisch wrote:
Evil currently sets the cursor color to black which conflicts with my color-theme. Any ideas for a general solution to this problem?
Each state may specify the cursor color and cursor type with its `evil-STATE-state-cursor' variable. If the color is not specified, it is assumed to be black, to prevent one state's color from spilling into another. Commit c457f75 adds a `evil-default-cursor' variable for changing this assumption. The variable is initialized to the current color when Evil is loaded, so if you set up your color theme before loading Evil, everything should just work. If not, add this line to .emacs: (setq evil-default-cursor t) Then Evil will not reset the cursor color at all. (Of course, should you decide to add color to any `evil-STATE-state-cursor' variable, then you should specify a default color as well.) -- Vegard
Thx Vegard! It works. On Mon, Aug 1, 2011 at 2:46 PM, Vegard Øye <[email protected]> wrote:
On 2011-07-30 12:30 +0200, Thomas Hisch wrote:
Evil currently sets the cursor color to black which conflicts with my color-theme. Any ideas for a general solution to this problem?
Each state may specify the cursor color and cursor type with its `evil-STATE-state-cursor' variable. If the color is not specified, it is assumed to be black, to prevent one state's color from spilling into another.
Commit c457f75 adds a `evil-default-cursor' variable for changing this assumption. The variable is initialized to the current color when Evil is loaded, so if you set up your color theme before loading Evil, everything should just work. If not, add this line to .emacs:
(setq evil-default-cursor t)
Then Evil will not reset the cursor color at all. (Of course, should you decide to add color to any `evil-STATE-state-cursor' variable, then you should specify a default color as well.)
-- Vegard
_______________________________________________ implementations-list mailing list [email protected] https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list
participants (2)
-
Thomas Hisch -
Vegard Øye