[TxMt] Delete Until Period Macro

Thomas Aylott (subtleGradient) oblivious at subtlegradient.com
Thu Aug 9 14:48:15 UTC 2007


On Aug 9, 2007, at 10:34 AM, Lawrence Goodman wrote:

> I am not a computer programmer, but use TM as my word processor. I  
> am interested in creating a macro which selects the text from the  
> location of the cursor to the next period in the sentence and then  
> deletes that text. Can anyone tell me how I can go about that?
>
> Thanks for the help.

Here you go

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Delete Until Punctuation.tmMacro
Type: application/octet-stream
Size: 986 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20070809/46bdf667/attachment.tmMacro>
-------------- next part --------------

that just searches from your current caret position to any punctuation  
and then deletes it.

	thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge




More information about the textmate mailing list