Re: Insert stdout of shell command on current line
- On 10-06-01 07:55 AM, Andre Majorel wrote:
> Execute the current line (minus the leading "#") as a shellYes, they're called filters, see `:help filter`
> command and insert its output at +1, keeping the current line in
> Yp:.!sed 's/^\#//' | sh
> Is there a simpler way to do that ? Like a built-in command ?
Place the cursor on the line and type:
Just my 0.00000002 million dollars worth,
Programming is as much about organization and communication
as it is about coding.
The secret to great software: Fail early & often.
Eliminate software piracy: use only FLOSS.
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php