Skip to content

Instantly share code, notes, and snippets.

@manafire
Created August 14, 2013 16:45
Show Gist options
  • Save manafire/6232957 to your computer and use it in GitHub Desktop.
Save manafire/6232957 to your computer and use it in GitHub Desktop.
Override read-only in vim with :w!!
# add to .vimrc
cmap w!! %!sudo tee > /dev/null %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment