:w !sudo tee %
Created
September 9, 2019 22:10
-
-
Save retrography/be956222a4e9a417b55bbba9f693f48e to your computer and use it in GitHub Desktop.
How to save a readonly file opened in Vim
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment