On my US keyboard the [ ] characters do have their own keys, and if you shift them they are { } (braces).
-rich
On 10/25/04 6:28 PM, "Allan Odgaard" allan@macromates.com wrote:
On 25. Oct 2004, at 23:55, Richard Kilmer wrote:
I followed the procedure to copy the KeyBindings.dict file to:
~Library/Application Support/TextMate/KeyBindings.dict
I want to map shift right/left to xcode-style/command + ] and command
[
"@[" = "shiftLeft:"; "@]" = "shiftRight:";
But it does not seem to work!
Any help would be appreciated.
Are you using a US-keymap? i.e. does the [ and ] have their own keys, or are they e.g. on option-8, option-9 (as with some european keymaps).
Kind regards Allan
P.S. This is really a mailing list type of question! ;)
I can second Richard on this one. I have a US keyboard where [ and ] are on their own keys, but when I change by KeyBindings.dict to have:
"@[" = "shiftLeft:"; "@]" = "shiftRight:";
... TextMate doesn't pick it up.
On 26. Oct 2004, at 4:26, Chris Brierley wrote:
I can second Richard on this one. I have a US keyboard where [ and ] are on their own keys, but when I change by KeyBindings.dict to have:
"@[" = "shiftLeft:"; "@]" = "shiftRight:";
... TextMate doesn't pick it up.
I tried it myself, and I think there's a system bug at play here.
Initially the keys beep for me, but if I open _any_ menu, w/o choosing anything, close it again, and then try the keys, they do work.
I'll look into a work-around in the coming days -- most likely placing the keys as menu shortcuts will solve it (so I'll just make these the default keys, but keep the tab-versions in the key bindings).
Kind regards Allan
On Tue, 26 Oct 2004 16:05:17 +0200, Allan Odgaard allan@macromates.com wrote:
Initially the keys beep for me, but if I open _any_ menu, w/o choosing anything, close it again, and then try the keys, they do work.
Weird, I can't get that to work. I start TextMate, click on any menu, click on it again to close it without choosing something ... and @[ and @] still beep at me without doing anything.
Just a data point in case it matters for your fix. Thanks for your info.