Show Ticket

Duplicates of this ticket: 7B9C043F, 9CCBE368, D894A730, BFDBC07F

Status: closed, reported by jim on 2009-04-13 (bug)

Build 1498: Snow Leopard: cmd-right and cmd-left doesn't work

Under 10A314, the cmd-left and cmd-right keys to move to the beginning and end of line do not work.  The shortcuts do work on other apps like TextEdit.
Note added by Gaz on 2009-05-18 10:18:08

Same problem here, Textmate is the only app that cmd left / right does not work in on Snow Leopard Mac OS X 10.6 (10A354)

Added the below to ~/Library/KeyBindings/DefaultKeyBinding.dict and it still doesn't work.

{
   @\UF702 = "moveToBeginningOfLine";
   @\UF703 = "moveToEndOfLine";
}


Note added by Adam Hitchcock on 2009-06-10 16:36:57

The bug still exists under 10A380

Note added by Infininight on 2009-06-14 20:48:34

A temporary fix for this:

http://temp.whitefalls.org/movement_macros.zip

Two macros that emulate the previous behavior, unzip them and double-click to install.

Note added by Bodaniel Jeanes on 2009-06-16 02:49:35

I have attached some new macros. These include the two in the zip above and also include two more for SELECTING to beginning and end of line with command+shift+left/right

Note added by Infininight on 2009-06-16 10:01:33

Added a bundle for these four along with macros for ⌘↑/⌘↓/⇧⌘↑/⇧⌘↓

Contained in a bundle so once this is fixed you can simply delete the bundle.

(Snow Leopard Compatibility.zip below)

Note added by Rob Rix on 2009-06-22 03:00:19

I found that adding the key bindings mentioned above worked just fine:

"@\UF702" = "moveToBeginningOfLine:";
"@\UF703" = "moveToEndOfLine:";
"$@\UF702" = "moveToBeginningOfLineAndModifySelection:";
"$@\UF703" = "moveToEndOfLineAndModifySelection:";

Note added by Richie Vos on 2009-08-28 21:00:47

Glad it's not just me. The Bundle in Snow Leopard Compatibility.zip fixed it perfectly for me. Thanks for making that Infininight.

Note added by jacques on 2009-08-29 07:20:45

Bundle worked for me. Still no official patch? Seems like this is going to hit *everyone* who upgrade to snow leopard.

Note added by Release Notes on 2009-08-29 12:28:48

Revision 1509 has been released (as cutting edge) and has the following change:

[FIXED] Add local key bindings for command + arrows (as there are no defaults in Snow Leopard) - ticket 0FDE7076.

Therefore this ticket has now been closed.

File added by Bodaniel Jeanes on 2009-06-16 02:49:44

movement_macros.zip (2679 bytes)

File added by Infininight on 2009-06-16 09:59:05

Snow Leopard Compatibility.zip (6123 bytes)