I often edit system files running vim/nvim as user and when I'm done I save the file using sudo.
In vim this works fine but in neovim it just doesn't work.
it works fine on regular files but as soon as I go to edit a system file it just doesn't work.
afaik none of the commentary commands work in this case.
I often edit system files running vim/nvim as user and when I'm done I save the file using sudo. In vim this works fine but in neovim it just doesn't work. it works fine on regular files but as soon as I go to edit a system file it just doesn't work. afaik none of the commentary commands work in this case.