From 624fbea7005a5eea78eb73e2d198680b326a4248 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 22 Dec 2021 21:57:00 +0100 Subject: [PATCH] Bind CRUX line/region duplication commands --- config.org | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 3ce0b16..5d520e1 100644 --- a/config.org +++ b/config.org @@ -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