Vim: Pipe selected text to shell cmd and receive output on vim info/command line
Posted
by charding
on Stack Overflow
See other posts from Stack Overflow
or by charding
Published on 2010-04-04T19:04:20Z
Indexed on
2010/04/04
19:13 UTC
Read the original article
Hit count: 502
I want to pipe the selected text to a shell command and receive the one-line output from this shell command on the vim info/command line?
What I'm really trying to do: Pipe the selected text to a pastebin-type shell command and I want to receive the output of the shell cmd (which is the http link to the pastebin). Is this possible?
© Stack Overflow or respective owner