HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by saurabh | Hacker News Reader
Parent
Full thread
saurabh
·
Is there any way to do the same in Vim?
View on HN
teaspoon
·
:w !sudo tee %
yankcrime
·
And here's the little mode-specific map I use:
cmap w!! w !sudo tee % >/dev/null
Reply on news.ycombinator.com