Write to file with sudo/doas #10214
Replies: 4 comments
-
Duplicate of #4251 |
Beta Was this translation helpful? Give feedback.
-
I respectfully disagree that this is a duplicate of #4251. That discussion is about starting helix with sudo. The question in this issue, and the linked-to feature of micro, is about writing a file with sudo, in an instance of helix that was started as a regular user. I agree that this would be a super useful feature. |
Beta Was this translation helpful? Give feedback.
-
They are actually duplicates because the question in the discussion was not about starting Helix with sudo, but generally how to write with sudo. There are mentions of the system from micro as well. I'll reopen since those mentions weren't addressed in that discussion though. |
Beta Was this translation helpful? Give feedback.
-
I don't want to see this added to core. It's a hack as micro says that pipes the buffer contents through |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Would it be possible to get a feature for attempting to write to file with sudo/doas when not enough permissions?
Similar to how micro does it
https://github.com/zyedidia/micro/blob/master/runtime/help/options.md#sucmd
Beta Was this translation helpful? Give feedback.
All reactions