help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

visualize evil insert mode


From: emacs-list-18
Subject: visualize evil insert mode
Date: Wed, 04 Jul 2018 08:44:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hi,

 i am searching for ideas how to visualize that evil mode is in insert
 state.

 Till now i use a funvtion that is hooked into the post-command-hook
 that moves an overlay (face bold) like this:

(defun ck/evil/move-insert-mode-overlay()
  "move the insert mode overlay"
  (move-overlay ck/insert-mode-overlay (line-beginning-position)
                                       (line-end-position))
  )

 This works, but is not that nice. For example on an empty line, i dont
 have any visual feedback.

Any other ideas for this? No, hl-line-mode  does not count... ;-)

Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]