Skip to content
Shuai YUAN edited this page May 29, 2015 · 1 revision

Tip 45: Save a File as the Super User

Return to the top: <> %toc

  • `:write !{cmd}`: send the contents of the buffer as standard input to the specified `{cmd}`

References

  • `%`: expands to represent the path of the current buffer

References

Table of Contents


Clone this wiki locally