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:
parent
07380af819
commit
d87310bd55
5 changed files with 14 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue