[TxMt] Edit in Textmate - save markedup text

Allan Odgaard throw-away-1 at macromates.com
Wed Jun 28 18:14:21 UTC 2006


On 28/6/2006, at 4:45, J Fischer wrote:

> If I use "Edit in textmate" to edit text field from another app, is
> there any way to alter the save function (or to make another key
> command) to automatically format the markdown text and send back the
> formatted version. Currently, I write the markdown, preview it in
> textmate's window, copy and paste it back into the original app. It's
> not that much work, but I was thinking that if it could be automated,
> I'd probably use it more often.

Not alter save, but doing ⌃⇧H should convert to Markdown in-place,  
and after that, it’s just
⌘S to save (to send the text back.)

Of course you need to be in Markdown mode for the key (⌃⇧H) to  
work. This is ⌃⌥⇧M — but if done once for the calling  
application, it should stick for that app.




More information about the textmate mailing list