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
1 changed files with 4 additions and 1 deletions

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]]
#+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
** which-key