crux icon indicating copy to clipboard operation
crux copied to clipboard

crux-reopen-as-root interactive?

Open ghost opened this issue 7 years ago • 1 comments

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!

ghost avatar May 02 '18 06:05 ghost

There's sudo-edit package for that

a13 avatar Oct 19 '18 11:10 a13