Bind CRUX line/region duplication commands

This commit is contained in:
Marcel Kapfer 2021-12-22 21:57:00 +01:00
parent 69b270cd50
commit 624fbea700
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -578,7 +578,10 @@ Used especially for =crux-delete-file-and-buffer= and =crux-rename-file-and-buff
Source: [[https://github.com/bbatsov/crux][GitHub: bbatsov/crux]] Source: [[https://github.com/bbatsov/crux][GitHub: bbatsov/crux]]
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package crux) (use-package crux
:bind (:map prog-mode-map
("C-c C-." . crux-duplicate-current-line-or-region)
("C-c C-M-." . crux-duplicate-and-comment-current-line-or-region)))
#+end_src #+end_src
** which-key ** which-key