home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit c800386c47c9940f237552b7654f970206d96c24
parent cd96fc8510236b554100f208d291a687f417f18c
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Thu, 15 Feb 2024 15:20:52 +0100

tools/emacs: add a binding for duplicate-dwim

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-editing.el | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-editing.el b/tools/emacs/config/config-editing.el @@ -111,7 +111,8 @@ Else toggle the comment status of the line at point." :custom (repeat-on-final-keystroke t) (set-mark-command-repeat-pop t) - :bind ("M-z" . zap-up-to-char)) + :bind (("M-z" . zap-up-to-char) + ("M-S-<up>" . duplicate-dwim))) (use-package visual-regexp :unless noninteractive