If you use Vim or Neovim, you've probably found that you can't save the modifications you've made to a file, because you don't have write permissions or the file doesn't belong to you.
Keep reading Save file as superuser in VimIf you use Vim or Neovim, you've probably found that you can't save the modifications you've made to a file, because you don't have write permissions or the file doesn't belong to you.
Keep reading Save file as superuser in Vim