this post was submitted on 01 Nov 2024
66 points (79.5% liked)
Linuxsucks
176 readers
93 users here now
Shit on Desktop Linux and its evangelists here
No evangelizing for Linux
founded 1 month 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.