Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crux-reopen-as-root interactive? #53

Open
ghost opened this issue May 2, 2018 · 1 comment
Open

crux-reopen-as-root interactive? #53

ghost opened this issue May 2, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented May 2, 2018

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!

@a13
Copy link

a13 commented Oct 19, 2018

There's sudo-edit package for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants