summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/emacs/init.el2
-rw-r--r--user/settings/emacs.nix1
2 files changed, 3 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index f21325a3..bc53e3a5 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -599,6 +599,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                   auto-revert-use-notify t)
             (global-auto-revert-mode t)))
 
+(use-package auto-sudoedit
+  :ghook ('after-init-hook #'auto-sudoedit-mode))
 
 (setq delete-by-moving-to-trash t)
 
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index 998a6939..0e849e71 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -96,6 +96,7 @@ in
       [
         ace-link
         apheleia
+        auto-sudoedit
         avy
         benchmark-init
         capf-autosuggest