[TxMt] Re: [FeatReq] Scratchpad

Alex Ross tm-alex at rosiba.com
Mon Sep 8 15:05:39 UTC 2008

On Sep 8, 2008, at 2:42 PM, Patrick James wrote:

> What I used to do with BBEdit 8 and earlier versions was simply to
> have an AppleScript which opened a new file and saved it in a
> "temporary" folder named with date and time formatted like this: yyyy-
> mm-dd-hh-mm-ss
> This meant that I could always create a new "scratch pad" if you like
> which was saved in that temporary folder and could, if desired, be
> retrieved, however retrieval usually wasn't very necessary. I didn't
> want to do the "scratch pad" activities on an unsaved file because if
> the application crashed then I'd lose it.
> It would be a great exercise for me to learn how to create this bundle
> myself in TextMate and so if it is not a good time for you to consider
> such a thing then it will be no problem at all.

Attached is a bundle “Scratch” containing a single command  
“Scratch from Current Selection / Line”.  When editing, you decide  
you want some scratch, so you make a selection hit ⌃⌥⌘C and off  
you go.  Scratches files are  The next step would probably be to add a  
command to list all previous scratches… you could do this quite  
easily as a html command with txmt:// links to old scratches.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080908/e3700702/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Scratch.tmbundle.zip
Type: application/zip
Size: 1385 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20080908/e3700702/attachment.zip>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20080908/e3700702/attachment-0001.html>

More information about the textmate mailing list