Replace evil-commentary with evil-nerd-commenter

The latter provides a comment text object and better commenting support
across various languages.
This commit is contained in:
Henrik Lissner 2019-10-10 12:33:09 -04:00
parent 07380af819
commit d87310bd55
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
5 changed files with 14 additions and 16 deletions

View file

@ -255,9 +255,8 @@
"s--" #'doom/decrease-font-size
;; Conventional text-editing keys & motions
"s-a" #'mark-whole-buffer
:g "s-/" (λ! (save-excursion (comment-line 1)))
:n "s-/" #'evil-commentary-line
:v "s-/" #'evil-commentary
:gn "s-/" #'evilnc-comment-or-uncomment-lines
:v "s-/" #'evilnc-comment-operator
:gi [s-backspace] #'doom/backward-kill-to-bol-and-indent
:gi [s-left] #'doom/backward-to-bol-or-indent
:gi [s-right] #'doom/forward-to-last-non-comment-or-eol