Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
saurabh
· 14y ago · 0 comments
Is there any way to do the same in Vim?
Comments
[–]
teaspoon
14y ago
:w !sudo tee %
[–]
yankcrime
14y ago
And here's the little mode-specific map I use:
cmap w!! w !sudo tee % >/dev/null