Michael
Michael

Reputation: 1973

Emacs evil-leader and evil-nerd-commenter conflict

I'm using evil-leader and evil-nerd-commenter, but I don't like the nerd commenter way of using ,, to comment lines (I use , to search backward when using t or f), so I changed it to \\ as suggested in its page. But if I install evil-leader, it seems to conflict, since now when I hit \\ it tells me \ \ is undefined. How can I fix this?

Upvotes: 2

Views: 729

Answers (1)

chen bin
chen bin

Reputation: 568

check README of https://github.com/redguardtoo/evil-nerd-commenter. This issue is totally resolved now.

If you don't like default key bindings which use "," as prefix, just don't call (evilnc-default-hotkeys) in your Emacs. That's it!

Set up your evil-leader as usual.

Upvotes: 2

Related Questions