Hi all, I was wondering if there's a neat shortcut in Textmate to jump to capital letters in word directly. Say I wanted my caret to jump to "That" in "VeryLongWordThatIWantToEdit" using something akin to Option+right arrow
Thanks, Stephane
On Thu, Jul 16, 2009 at 11:26, Stephaneistibo@gmail.com wrote:
I was wondering if there's a neat shortcut in Textmate to jump to capital letters in word directly. Say I wanted my caret to jump to "That" in "VeryLongWordThatIWantToEdit" using something akin to Option+right arrow
Use Control+right arrow, it jumps to the InterCaps.
HTH, Martin
I would suggest making/saving a macro that searches for a capital letter.
Regards J.
On Jul 16, 2009, at 11:26 AM, Stephane wrote:
Hi all,
I was wondering if there's a neat shortcut in Textmate to jump to capital letters in word directly. Say I wanted my caret to jump to "That" in "VeryLongWordThatIWantToEdit" using something akin to Option+right arrow
Thanks, Stephane
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 16.07.2009, at 11:26, Stephane wrote:
I was wondering if there's a neat shortcut in Textmate to jump to capital letters in word directly. Say I wanted my caret to jump to "That" in "VeryLongWordThatIWantToEdit" using something akin to Option+right arrow
- ⌘F to open Find Dialog
- Search string: [A-Z]
- check "Regular Expression" - press "Next" or ⌘G or ⇧⌘G resp.
This you can also record as macro and bind it to any key-combo.
Best, --Hans
Thanks, it works a treat!
2009/7/16 Hans-Jörg Bibiko bibiko@eva.mpg.de
On 16.07.2009, at 11:26, Stephane wrote:
I was wondering if there's a neat shortcut in Textmate to jump to capital letters in word directly. Say I wanted my caret to jump to "That" in "VeryLongWordThatIWantToEdit" using something akin to Option+right arrow
⌘F to open Find Dialog
Search string:
[A-Z]
- check "Regular Expression"
- press "Next" or ⌘G or ⇧⌘G resp.
This you can also record as macro and bind it to any key-combo.
Best, --Hans
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
From: Stephane istibo@gmail.com Thanks, it works a treat!
2009/7/16 Hans-Jörg Bibiko bibiko@eva.mpg.de
⌘F to open Find Dialog
Search string:
[A-Z]
- check "Regular Expression"
- press "Next" or ⌘G or ⇧⌘G resp.
As Martin said, Control-Arrow does exactly what you're asking for, and should be much faster than opening up the Find dialog. However, I've sat down at a few other people's machines only to find that they have Control-Arrow mapped to Spaces, which totally surprises me when it happens. So you just might want to make sure Control-Arrow isn't being overridden by some other command.
Control-Arrow is one of my absolute favorite TextMate shortcuts. Literally saves half an hour a day in navigating the document. One of those TextMate features that I really really really miss whenever I'm forced to use other text editors.