It's a simple trick in Vim:
https://stackoverflow.com/a/7078429
For the lazy: :w !sudo tee > /dev/null %
:w !sudo tee > /dev/null %
I use Arch btw
Sister communities:
Community rules
Please report posts and comments that break these rules!
It's a simple trick in Vim:
https://stackoverflow.com/a/7078429
For the lazy:
:w !sudo tee > /dev/null %