Up until a few days ago I've used ctl-rightArrow to move to the end of the current line in TextMate, and shift-ctl-rightArrow to extend the selection to the end of line. Now it seems those commands move to/ select the next word, and are the same as opt-rightArrow and shift- opt-rightArrow respectively.
It's entirely possible that I changed something on my end, but I'm wondering if anyone else is seeing this? I'm using TextMate 1.5.3 (1258), and this started happening about two cutting-edge versions ago.
FWIW, ctl-rightArrow (and shift version) still work the way they should in my other programs like Mail.app and TextEdit. It's only in TextMate that they act weird.
- Dave
Hi Dave,
to get to the end of the line, cmd + rightArrow should be the default (cross-application) key command. ctrl + left/right arrows is for subWord navigation, (can be used with CamelCasedWords or words_using_underscores). This is also XCode's default behavior.
ctrl + left/right arrow: subWord navigation opt + left/right arrow : word navigation cmd + left/right arrow: begin/end line navigation
On 15-sep-2006, at 13:55, Dave Winzler wrote:
Up until a few days ago I've used ctl-rightArrow to move to the end of the current line in TextMate, and shift-ctl-rightArrow to extend the selection to the end of line. Now it seems those commands move to/select the next word, and are the same as opt-rightArrow and shift-opt-rightArrow respectively.
It's entirely possible that I changed something on my end, but I'm wondering if anyone else is seeing this? I'm using TextMate 1.5.3 (1258), and this started happening about two cutting-edge versions ago.
FWIW, ctl-rightArrow (and shift version) still work the way they should in my other programs like Mail.app and TextEdit. It's only in TextMate that they act weird.
- Dave
For me, ctrl + left/right arrow does the same thing as cmd + left/right arrow (move to the beginning or the end of the current line). Any idea why?
I'm using TextMate 1.5.3, but it's been the same in the previous versions I remember trying it in (all 1.5.x).
Mike
Dirk van Oosterbosch, IR labs wrote:
Hi Dave,
to get to the end of the line, cmd + rightArrow should be the default (cross-application) key command. ctrl + left/right arrows is for subWord navigation, (can be used with CamelCasedWords or words_using_underscores). This is also XCode's default behavior.
ctrl + left/right arrow: subWord navigation opt + left/right arrow : word navigation cmd + left/right arrow: begin/end line navigation
On 15-sep-2006, at 13:55, Dave Winzler wrote:
Up until a few days ago I've used ctl-rightArrow to move to the end of the current line in TextMate, and shift-ctl-rightArrow to extend the selection to the end of line. Now it seems those commands move to/select the next word, and are the same as opt-rightArrow and shift-opt-rightArrow respectively.
It's entirely possible that I changed something on my end, but I'm wondering if anyone else is seeing this? I'm using TextMate 1.5.3 (1258), and this started happening about two cutting-edge versions ago.
FWIW, ctl-rightArrow (and shift version) still work the way they should in my other programs like Mail.app and TextEdit. It's only in TextMate that they act weird.
- Dave
On 15/9/2006, at 17:22, Michael Glassford wrote:
For me, ctrl + left/right arrow does the same thing as cmd + left/ right arrow (move to the beginning or the end of the current line). Any idea why?
I'm using TextMate 1.5.3 [...]
Would that be 1.5.3 (r1258) available only by switching software update checks to “Cutting Edge” in system preferences?
On 18 Sep 2006, at 12:53 PM, Allan Odgaard wrote:
On 15/9/2006, at 17:22, Michael Glassford wrote:
For me, ctrl + left/right arrow does the same thing as cmd + left/ right arrow (move to the beginning or the end of the current line). Any idea why?
I'm using TextMate 1.5.3 [...]
Would that be 1.5.3 (r1258) available only by switching software update checks to “Cutting Edge” in system preferences?
I see the same thing with 1.5.3 [1215].
The same change to control-arrow behavior came to Xcode when I installed Xcode 2.2 (or maybe 2.3). I wonder if Xcode, or some other "helpful" program changed the meaning to the Windows Standard globally.
I'm looking at you, Office.
-- F
Fritz Anderson wrote:
On 18 Sep 2006, at 12:53 PM, Allan Odgaard wrote:
On 15/9/2006, at 17:22, Michael Glassford wrote:
For me, ctrl + left/right arrow does the same thing as cmd + left/right arrow (move to the beginning or the end of the current line). Any idea why?
I'm using TextMate 1.5.3 [...]
Would that be 1.5.3 (r1258) available only by switching software update checks to “Cutting Edge” in system preferences?
I see the same thing with 1.5.3 [1215].
Mine is 1.5.3 [1215] also.
The same change to control-arrow behavior came to Xcode when I installed Xcode 2.2 (or maybe 2.3). I wonder if Xcode, or some other "helpful" program changed the meaning to the Windows Standard globally.
I'm looking at you, Office.
Ctrl-arrow still works correctly for me in XCode 2.3. I installed XCode 2.2 (maybe even 2.3) before I ever tried TextMate, so I have no way of knowing if that could be the reason for ctrl-arrow not working correctly in TextMate.
Mike
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
On 19/9/2006, at 13:52, Dave Winzler wrote:
[...] 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!
From the release notes:
[CHANGED] The sub_word movement functions now also do CamelCase in addition to underscore_words. The default key bindings for these functions (move, select, and delete) have been changed to only use control as modifier (previously control + option was required) -- ticket 11746E04.
So the key bindings were not “messed up”, they were deliberately changed. And while it generally would appear as they do the same as ⌥ (⇧)→ and ⌥(⇧)←, they also visit “sub word boundaries”.
[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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Urbanose
Hi,
[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.
[ctrl] + [left/right arrow] now jumps between words -- words defined by 'traditional' word boundaries (space/punctuation) as well as "programming words" a lá space_case and camelCase
[cmd] + [left/right arrow] jumps you around beginning/end of line ...
For the record, that all works for me as intended: Version 1.5.3 (1258)
-steve