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@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