all repos — nixfiles @ c81219b243e67489dd92a6d9d23cd0e77ee3a153

System and user configuration, managed by nix and home-manager

emacs: auto-dedent text when copying
Alan Pearce alan@alanpearce.eu
Wed, 12 Mar 2025 17:58:40 +0100
commit

c81219b243e67489dd92a6d9d23cd0e77ee3a153

parent

db31fa87d8401be9523780293c7011f5775f59a8

1 files changed, 3 insertions(+), 0 deletions(-)

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -865,6 +865,9 @@ (setq-default tab-always-indent 'complete               indent-tabs-mode nil
               tab-width 4)
 
+(if (fboundp 'kill-ring-deindent-mode)
+    (kill-ring-deindent-mode +1))
+
 (electric-pair-mode +1)
 
 (use-package ws-butler