[TxMt] Re: How to jump cursor between matching braces?
Allan Odgaard
mailinglist at textmate.org
Thu Nov 13 10:33:58 UTC 2014
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.
More information about the textmate
mailing list