bindings: add common comment toggle

This is fairly common in most editors so let's make lives easier.
This commit is contained in:
Sean Farley 2019-01-28 15:14:09 -08:00
parent febad24a1d
commit 11b4a3502a
2 changed files with 11 additions and 0 deletions

View file

@ -156,6 +156,7 @@
"s--" #'text-scale-decrease
;; Conventional text-editing keys & motions
"s-a" #'mark-whole-buffer
"s-/" #'doom/toggle-comment-region-or-line
:gi [s-return] #'+default/newline-below
:gi [s-S-return] #'+default/newline-above
:gi [s-backspace] #'doom/backward-kill-to-bol-and-indent