Commit c800386c47c9

Vincent Demeester <vincent@sbr.pm>
2024-02-15 15:20:52
tools/emacs: add a binding for duplicate-dwim
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent cd96fc8
Changed files (1)
tools
emacs
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