something similar to vi's shift+%
is that available in textmate 2? I know highlight color may help but I have hundreds of lines in between...
thanks
-- Sent from my mobile. Ignore the typos unless they're funny.
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.
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 textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 13 Nov 2014, at 17:12, Kelvin Wu wrote:
Control Up/Down are assigned to Mission Control / Application Windows by default, and I used to use them for the default behaviours.
You can also use control-option up/down (⌃⌥↑ / ⌃⌥↓).
I tried to set a different shortcut for it but couldn't find them in "Select Bundle Item"...
You need nightly builds (Preferneces → Software Update) to see non-bundle/menu item key bindings in Select Bundle Item.
Thank you Allan, Control+Option+Up/Down works great!
-- Sent from my mobile. Ignore the typos unless they're funny.
On Fri, Nov 14, 2014 at 12:19 AM, Allan Odgaard mailinglist@textmate.org wrote:
On 13 Nov 2014, at 17:12, Kelvin Wu wrote:
Control Up/Down are assigned to Mission Control / Application Windows by
default, and I used to use them for the default behaviours.
You can also use control-option up/down (⌃⌥↑ / ⌃⌥↓).
I tried to set a different shortcut for it but couldn't find them in
"Select Bundle Item"...
You need nightly builds (Preferneces → Software Update) to see non-bundle/menu item key bindings in Select Bundle Item.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate