[TxMt] Re: How to jump cursor between matching braces?

Kelvin Wu kelvin.wu at gmail.com
Thu Nov 13 16:12:03 UTC 2014


Hi Allan,

Control Up/Down are assigned to Mission Control / Application Windows by
default, and I used to use them for the default behaviours. I tried to set
a different shortcut for it but couldn't find them in "Select Bundle
Item"...


--
Sent from my mobile. Ignore the typos unless they're funny.

On Thu, Nov 13, 2014 at 6:33 PM, Allan Odgaard <mailinglist at textmate.org>
wrote:

> On 13 Nov 2014, at 10:57, Kelvin Wu wrote:
>
>  is that available in textmate 2?
>>
>
> Use ⌃↓ and ⌃↑ (control up/down).
>
> This also works with shift to select till enclosing brace.
>
> Here’s a nice example, say we have:
>
>     fprintf(stderr, "pos: %zu, %zu"‸, someRange.from);
>
> To duplicate that last argument, use ⌃⇧↓ and then ⌃⇧D (duplicate), and we
> have:
>
>     fprintf(stderr, "pos: %zu, %zu", someRange.from[, someRange.from]);
>
> In the above ‸ is caret and [] is selection.
>
> It’s worth mentioning that in 2.0-beta.6.1 the “Select Bundle Item” (⌃⌘T)
> now show _everything_. So here one can find general key bindings for which
> there are no menu or bundle items.
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20141114/91aec49c/attachment.html>


More information about the textmate mailing list