Add keybinds for comment/uncomment and sort lines
This commit is contained in:
parent
3f5397fb2c
commit
6f63d40758
@ -123,3 +123,11 @@
|
|||||||
;; quit doom without confirmation
|
;; quit doom without confirmation
|
||||||
;; https://github.com/doomemacs/doomemacs/issues/2688#issuecomment-596684817
|
;; https://github.com/doomemacs/doomemacs/issues/2688#issuecomment-596684817
|
||||||
(setq confirm-kill-emacs nil)
|
(setq confirm-kill-emacs nil)
|
||||||
|
|
||||||
|
;; comment/uncomment keybinding
|
||||||
|
(map! :leader
|
||||||
|
(:prefix ("t")
|
||||||
|
:desc "Comment/Uncomment region"
|
||||||
|
"k" 'comment-or-uncomment-region
|
||||||
|
:desc "Sort lines"
|
||||||
|
"s" 'sort-lines))
|
||||||
|
Loading…
Reference in New Issue
Block a user