Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
emillon
13y ago
0 comments
Share
Normal mode (:help :! for more information on this command).
0 comments
default
newest
oldest
ralph
13y ago
What benefit does
:!sudo tee %
have over doing it at the command line other than filling in the current filename for you? I suspect the original poster meant something like "gg!Gsudo tee %".
AjithAntony
13y ago
:w !sudo tee %
j
/
k
navigate · click thread line to collapse