On Friday, February 26, 2016 at 11:29:48 AM UTC-5, Roman wrote:
> I use ':.w !sh' to run some lines with shell commands
> Is any way to transfer output of this commands back to buffer or maybe to split buffer window or do something like ':r !sh $current_line'
You could always just *replace* the content of the current buffer with the output with a filter, like "%!sh". But if you want the current buffer left as-is, then you could still use something like "w !sh > temp_thing" and then read that file.
--
--
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
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Friday, February 26, 2016
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment