[TxMt] Select between quotes

thomas Aylott thomas.42 at gmail.com
Thu Nov 17 18:31:23 UTC 2005


i wrote this stuff up in my personal bundle
I have home and end keys mapped to select the next contents of an  
html attribute (between quotes)
opt-home & opt-end keys mapped to select the entire next html  
attribute (space attrib = " contents ")
ctrl-home & end keys mapped to the text contents of html tag pairs  
(like the "fred" in <b>fred</b>)
ctrl-opt-command-end mapped to insert new html attribute in current tag

I had all this stuff mapped out with the tab opt-tab, etc... but that  
interferes with other native stuff.

I had originally wanted everything to be mapped to tab & shift-tab  
and use scopes to determine what you were intending to do, but the  
current scoping system and html bundle keep confusing the scopes for  
things and it got to be way too complicated.

enjoy.

PS: beware... there are some crazy half-baked things in there too.  
you might want to delete anything you don't know what is. I've also  
got some of my modified asp.net stuff in there too.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: x51.tmbundle.zip
Type: application/zip
Size: 30321 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20051117/6f28d07e/attachment.zip>
-------------- next part --------------


On Nov 17, 2005, at 11:01 AM, Warren Parsons wrote:

> What I'm looking for is the ability to select the contents of a  
> quoted attribute (HTML for instance), preferably with a keyboard  
> shortcut.
>
> About 75% of my workday is spent editing existing HTML documents,  
> and this ability would be a HUGE time-, and wrist-, saver. I hate  
> having to go to the mouse and drag select every time I need to  
> change the href contents of an A tag.
>
> If this ability already exists, either in TextMate, or even native  
> to OS X (I'm a newcomer), please, please, please tell me where to  
> find it. If it doesn't, please, I beg you, add it to this AMAZING  
> piece of software.
>
> Thank you.
>
> Warren L. Parsons
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate



More information about the textmate mailing list