Friday, December 27, 2013

Re: Function to pipe data through external command ?

On 2013-12-27 10:35 -0600, tooth pik wrote:
> On Fri, Dec 27, 2013 at 03:47:17PM +0100, Andre Majorel wrote:
> > Is there a Vim function to filter arbitrary strings through
> > external programs ? Thanks in advance and happy holidays.
>
> absolutely (I (used to) use it every time I run the Reconcile function
> in my bank module)
>
> run
>
> :h complex-change
>
> with attention to :{range}!{cmd} filter

Thanks but :{range}! only filters entire lines from the buffer.
I need something finer grained.

--
André Majorel http://www.teaser.fr/~amajorel/
Subliminal message : Vim needs elastic tab stops.

--
--
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/groups/opt_out.

No comments:

Post a Comment