7696122 / evil-terminal-cursor-changer

:smiling_imp: Chagning cursor by mode for evil on terminal.
80 stars 12 forks source link

Make showing cursor reliably for evil motion/operation/replace state. #21

Closed kiennq closed 3 years ago

kiennq commented 5 years ago

When evil enters motion/operation/replace state (for example press "y" to initiate yank), the post/pre-command-hook will not be run. Thus etcc--evil-set-cursor will not be called to update to new cursor-style. Just hooking around evil-set-cursor is more reliable and exhaustively covers all the case.