vi: insert shell output

by prettyscripts on 2009-08-10 11:41:23

unix

to run shell command while in vi:

:!command

to insert output from shell command after the cursor:

:r!command

Tags: insert, shell, unix, vi

No feedback yet

Leave a comment


Your email address will not be revealed on this site.
PoorExcellent
note: all comments are moderated. do not spam and do not advertise. only comments relevant to the post will be published.
(Line breaks become <br />)
(For my next comment on this site)
(Allow users to contact me through a message form -- Your email will not be revealed!)