k-talo / volatile-highlights.el

Minor mode for visual feedback on some operations in Emacs. STATUS: *STABLE*
135 stars 18 forks source link

enabling in evil-mode #13

Closed donm closed 8 years ago

donm commented 8 years ago

The instructions in the README for enabling in evil-mode have the line

  (vhl/define-extension 'evil 'evil-yank 'evil-move)

Nothing was happening for me when I inserted copied/killed text in evil-mode. I think the problem is that yank in vim means to copy rather than to insert. I changed that line to

  (vhl/define-extension 'evil 'evil-paste-after 'evil-paste-before 'evil-paste-pop 'evil-move)

and things seem to be working fine now.

k-talo commented 8 years ago

Since I'm not a vim guy, I've been misunderstood the meaning of `yank'. Thanks for your reporting.