Bind CRUX line/region duplication commands
This commit is contained in:
parent
69b270cd50
commit
624fbea700
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue