evil: acertain cursor colors dynamically from face attributes

This commit is contained in:
Henrik Lissner 2016-05-20 16:45:37 -04:00
parent 7b52ce1cab
commit 4f8fcb607a

View file

@ -33,9 +33,9 @@
evil-replace-state-tag "R"
;; Color-coded state cursors
evil-default-cursor "orange"
evil-default-cursor (face-attribute 'minibuffer-prompt :foreground nil t)
evil-normal-state-cursor 'box
evil-emacs-state-cursor '("cyan" box)
evil-emacs-state-cursor `(,(face-attribute 'highlight :foreground nil t) box)
evil-insert-state-cursor 'bar
evil-visual-state-cursor 'hollow