I'm trying to get all my apps to use the same basic keystrokes. After a random dice roll, I decided on command-{ and } for previous/next tab. But I can't figure out what to put in KeyBindings.dict; the obvious, "previousTab:" and "nextTab:", didn't work. Neither did "selectNextTabViewItem:" and "selectPreviousTabViewItem:".
So:
1. Can someone tell me what the right action is? Or is it not bindable?
2. How could I have found the answer to #1 myself?
Thanks..
Jay Levitt
On Sep 7, 2008, at 8:04 PM, Jay Levitt wrote:
I'm trying to get all my apps to use the same basic keystrokes. After a random dice roll, I decided on command-{ and } for previous/next tab. But I can't figure out what to put in KeyBindings.dict; the obvious, "previousTab:" and "nextTab:", didn't work. Neither did "selectNextTabViewItem:" and "selectPreviousTabViewItem:".
System Preferences → Keyboard & Mouse → Keyboard Shortcuts
On 08.09.2008, at 04:05, Michael Sheets wrote:
On Sep 7, 2008, at 8:04 PM, Jay Levitt wrote:
I'm trying to get all my apps to use the same basic keystrokes. After a random dice roll, I decided on command-{ and } for previous/next tab. But I can't figure out what to put in KeyBindings.dict; the obvious, "previousTab:" and "nextTab:", didn't work. Neither did "selectNextTabViewItem:" and "selectPreviousTabViewItem:".
System Preferences → Keyboard & Mouse → Keyboard Shortcuts
Please forgive me. But how? AFAIK the 'TAB' command doesn't appear in the TM menu. I only could guess that this works within the KeyBindins.dict with "previousSnippetField:" and "nextSnippetField:" for TM 1.x.
--Hans
On 8 Sep 2008, at 08:32, Hans-Jörg Bibiko wrote:
On 08.09.2008, at 04:05, Michael Sheets wrote:
On Sep 7, 2008, at 8:04 PM, Jay Levitt wrote:
I'm trying to get all my apps to use the same basic keystrokes. After a random dice roll, I decided on command-{ and } for previous/next tab. But I can't figure out what to put in KeyBindings.dict; the obvious, "previousTab:" and "nextTab:", didn't work. Neither did "selectNextTabViewItem:" and "selectPreviousTabViewItem:".
System Preferences → Keyboard & Mouse → Keyboard Shortcuts
Please forgive me. But how? AFAIK the 'TAB' command doesn't appear in the TM menu. [...]
By next/previous tab, I think the OP means the file tabs, not snippet tab stops / placeholders.
As for the former, I am like 99.9% decided on switching to ⌘{/⌘} because of how this is Apple’s de facto standard (Safari + Terminal), though it gives a problem with non-US keyboards (keys are hard to reach) though of more concern; it clashes with the current commands in the LaTeX bundle.
I’ve been meaning to air the topic, i.e. what do LaTeX users think? Would it be feasible to find some other keys for the LaTeX bundle? Though this change won’t happen for the 1.x releases, so there is some time still…
Allan Odgaard wrote:
As for the former, I am like 99.9% decided on switching to ⌘{/⌘} because of how this is Apple’s de facto standard (Safari + Terminal), though it gives a problem with non-US keyboards (keys are hard to reach) though of more concern; it clashes with the current commands in the LaTeX bundle.
Apple’s “de facto standard” from Safari is the stupidest set of key bindings ever. I don’t know who decided that ⇧⌘→ / ⇧⌘← was reasonable for switching tabs, but they should be repeatedly kicked or pinched until they change it. ⌥⌘→ ⌥⌘← is the obviously correct choice (given that it doesn’t conflict with, and I’m glad for the 3-4 apps I have which picked it. If TextMate 2 changes this, I can of course change it back, but it will bring a tiny bit of sadness to my day.
-Jacob
Jacob Rus wrote:
Allan Odgaard wrote:
As for the former, I am like 99.9% decided on switching to ⌘{/⌘} because of how this is Apple’s de facto standard (Safari + Terminal), though it gives a problem with non-US keyboards (keys are hard to reach) though of more concern; it clashes with the current commands in the LaTeX bundle.
Apple’s “de facto standard” from Safari is the stupidest set of key bindings ever. I don’t know who decided that ⇧⌘→ / ⇧⌘← was reasonable for switching tabs, but they should be repeatedly kicked or pinched until they change it. ⌥⌘→ ⌥⌘← is the obviously correct choice (given that it doesn’t conflict with
Doesn't conflict with what? I don't mind ⌘{/⌘} since it mentally corresponds with ⌘[/⌘] (Firefox back/forward), but if I'm going to hate it later, I'd rather change now before I get that muscle memory...
Which apps use it by default?
, and I’m glad for the 3-4 apps I have
which picked it. If TextMate 2 changes this, I can of course change it back, but it will bring a tiny bit of sadness to my day.
-Jacob
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Michael Sheets wrote:
On Sep 7, 2008, at 8:04 PM, Jay Levitt wrote:
I'm trying to get all my apps to use the same basic keystrokes. After a random dice roll, I decided on command-{ and } for previous/next tab. But I can't figure out what to put in KeyBindings.dict; the obvious, "previousTab:" and "nextTab:", didn't work. Neither did "selectNextTabViewItem:" and "selectPreviousTabViewItem:".
System Preferences → Keyboard & Mouse → Keyboard Shortcuts
D'oh! Right. It's actually on the menus in TextMate (unlike most other apps.) Thanks.
Still, isn't there some really complicated way I could do it, involving a compiler, a transformation mapping, and maybe some hand-coded assembler? No? OK.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate