Skip to content

Commit

Permalink
feat(files): add sudo-edit
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Nov 10, 2023
1 parent a48d307 commit faa1299
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions modules/me-files.el
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,16 @@
:config
(treemacs-load-theme "nerd-icons"))

(use-package sudo-edit
:straight t
:hook (minemacs-first-file . sudo-edit-indicator-mode)
:init
(+map!
"fF" #'sudo-edit-find-file
"fu" #'sudo-edit)
:config
(set-face-attribute 'sudo-edit-header-face nil :height (truncate (* .9 (face-attribute 'default :height)))))


(provide 'me-files)

Expand Down

0 comments on commit faa1299

Please sign in to comment.