Bind CRUX rename file and buffer command

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

View file

@ -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