Did this ever happen to you? You edit a system configuration file, only to get a...

@monospace@floss.social

Did this ever happen to you? You edit a system configuration file, only to get an error message from vim because you forgot to open the file as root.

Good news: You can finish your change after all. Simply enter the following vim command:

`:w !sudo tee %`