[TxMt] Re: EOL shortcut

Allan Odgaard throw-away-1 at macromates.com
Tue Sep 19 22:00:01 UTC 2006


On 19/9/2006, at 19:24, Dave Winzler wrote:

> [...] Consistency between apps is really important to me, and  
> TextMate does different things with shift-ctl-arrows than the other  
> apps I live in

Previously the keys were ⌃⌥← and ⌃⌥→ — I changed that to  
be consistent with Xcode and BBEdit (plus they were almost useless on  
those keys, as at least I personally would not bother using them).

It does take a few weeks to get used to ⌘← and ⌘→ for line  
movement (+ selecting/deleting), but if we get people trained to use  
the command versions, we can start to overload ⌃← and ⌃→ to  
e.g. move between cells in LaTeX tables, etc. — i.e. use those keys  
for moving a unit in the given context.

> (like Mail, textarea boxes in Safari, and TextEdit). So I either  
> have to live with TextMate's inconsistency or keep modifying  
> TextMate's KeyBindings file or messing with iKey to map my  
> keypresses into something that works with TextMate.

You can also do a custom bundle with two macros that move to begin/ 
end of line and has the preferred key equivalent. This will override  
native functionality assigned to the keys chosen.

> BTW, what is TextMate's official "select to EOL" shortcut anyway?

That would be ⇧⌘→, likewise ⌘⌦ will delete to EOL.





More information about the textmate mailing list