Awesome. I was trying that, but didn't realize it's an actual system command (and hence left out the backticks).
I have a followup question. It seems that macros are poorly supported in TextMate 2 so far. It also seems that much of what you might have wanted to do with a macro can be done with a command in whatever language you have installed on your system, such as Ruby, or bash, perl -- I've seen a number of examples. Nonetheless, macros were really easy to work with in TextMate 1.x, just do something and make a keybinding. Are there any plans to improve support for macros in TextMate 2, such as saving them as part of bundles, binding them to keys, things like that?
Thanks a lot for the great info. I am very excited to see the open-source TextMate 2, and I'd like to give my very sincere thanks to MacroMates for that extremely generous decision. Speaking only for myself, I wouldn't mind paying for the open-source binary. I'd like to see companies that do things like this be financially rewarded for it.
Thanks again, steven
On Oct 2, 2012, at 7:05 PM, Elia Schito elia@schito.me wrote:
the system command pbpaste does that, you can call it with `pbpaste` from inside ruby :)
Elia
— ☁ @elia (twitter) ✎ elia@schito.me (gtalk) ☎ (+39) 348/9051393 perlelia@gmail.com (FaceTime)
On Wed, Oct 3, 2012 at 1:01 AM, Steven Arnold thoth_amon@mac.com wrote: Hello, I would like to create a command that in part pastes the contents of the clipboard, using TextMate 2. How would one access the contents of the clipboard in a command? I am using Ruby, but I am open to whatever works.
Thanks in advance, steven
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate