crux
crux copied to clipboard
crux-reopen-as-root interactive?
For users who don't want to use crux-reopen-as-root-mode, perhaps an interactive invocation of crux-reopen-as-root would be helpful, so it could be called easily on-demand, rather than prompting on find-file.
Something as simple as (defun my/crux-reopen-as-root () "Reopen file as root." (interactive) (crux-reopen-as-root)) has been working for me.
Thanks for the great collection!
There's sudo-edit package for that