this post was submitted on 01 Nov 2024
69 points (82.2% liked)
Linuxsucks
133 readers
144 users here now
Shit on Desktop Linux and its evangelists here
No evangelizing for Linux
founded 3 weeks ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
:w !sudo tee %
If you are in vim you can do this
Does it work in Helix as well?
It looks like you can run shell commands so it should be possible although the syntax may be a bit different. I haven’t used Helix.