[TxMt] Re: TM2: Filter Through Command?
martin.kuehl at gmail.com
Fri Jan 27 17:54:22 UTC 2012
On Fri, Jan 27, 2012 at 14:33, Rob McBroom <mailinglist0 at skurfer.com> wrote:
> Sorry if this has been covered, but I couldn’t find a mention of it.
> Is there a “Filter Through Command” in TextMate 2 (8998)? Was it re-implimented as a bundle item or something? I can’t find it and the old shortcut doesn’t seem to bring it up.
It seems to be missing, I use this command instead:
pbpaste | bash -c "$(cat)"
(with Input: Selection, Output: Replace Selection)
Of course it works slightly differently: You cut some text, then type
the (shell) command in your document and hit the key equivalent.
More information about the textmate