From cce0a6b7df5db8c42e7a9338d15d1a89dc5aa3fe Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 22 Dec 2021 22:01:46 +0100 Subject: [PATCH] Bind CRUX rename file and buffer command --- config.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config.org b/config.org index 5d520e1..50d8bf9 100644 --- a/config.org +++ b/config.org @@ -581,7 +581,9 @@ Source: [[https://github.com/bbatsov/crux][GitHub: bbatsov/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))) + ("C-c C-M-." . crux-duplicate-and-comment-current-line-or-region) + :map global-map + ("C-c M-r" . crux-rename-file-and-buffer))) #+end_src ** which-key