[TxMt] Re: EOL shortcut

Urbanose urbanose at gmail.com
Tue Sep 19 13:55:56 UTC 2006


[ctrl] + [left/right arrow] to go to the begining/end of a line  
aren't working either in the cutting edge version. It works in the  
release 1215.


Le 19 sept. 06 à 13:52, Dave Winzler a écrit :

> After some digging I figured out why shift-ctl-rightArrow would no  
> longer select to the end of line; TextMate's KeyBindings were  
> messed up in recent cutting-edge releases.
>
> First I tried following the instructions in this article to  
> override key bindings, but it didn't work for some reason:
> http://macromates.com/blog/archives/2005/07/05/key-bindings-for- 
> switchers/
>
> Then I figured that TextMate had its own KeyBindings file, and sure  
> enough if you right-click TextMate's application icon and Show  
> Package Contents, you can edit this file (drag it onto TextMate):
> /Contents/Resources/KeyBindings.dict
>
> Replace the bindings for shift-ctl-arrows (^$\UF702 and ^$\U703)  
> with these lines:
>
> 	"^$\UF702" = "moveToBeginningOfLineAndModifySelection:";		/* ctrl- 
> shift-left arrow */
> 	"^$\UF703" = "moveToEndOfLineAndModifySelection:";		/* ctrl-shift- 
> right arrow */
>
> Save changes, relaunch TextMate, and shift-ctl-arrows work as they  
> did before! No longer with shift-ctl-arrows be the same as shift- 
> opt-arrows!
>
> Hope this saves somebody else some grief,
>
> 	- Dave Winzler
>
> ______________________________________________________________________
> 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

         Urbanose



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2419 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20060919/f84aa8d0/attachment.p7s>


More information about the textmate mailing list