Is impossible to access "Edit -> Indent line" since it is binding to Cmd-Opt-]
On the other hand in Sp keyb. you must press Opt fot access ] or [ keys....
] = Opt-]
actually the ]-key contains the *+] chars, * is with Shift, + is the default and, I've said ] is with option.
then if you press Cmd-Opt-] you always get "Edit -> Shift right" as if you've pressed Cmd-]
I've always used Alt + TAB (and Shift + Alt + TAB for unindenting)
It seems to also work in VoodooPad, so I'm assuming it's some kind of standard...
-- Ale Muñoz http://sofanaranja.com http://bomberstudios.com
El 12/02/2007, a las 10:19, Ale Muñoz escribió:
I've always used Alt + TAB (and Shift + Alt + TAB for unindenting)
It seems to also work in VoodooPad, so I'm assuming it's some kind of standard...
No. Probably you are speaking about the first/second one in the Edit menu
I am referring the last one.
Opt-Tab (or a la Windows, Alt-Tab) always works since Tab is always present in any keyboard directly. But ] is hidden under Option in the Spanish one.
On 2/12/07, Juan juanfc@lcc.uma.es wrote:
No. Probably you are speaking about the first/second one in the Edit menu
I am referring the last one.
Hmmm... I see what you mean.
You could always go to System Preferences » Keyboard, and change the shortcut there. This is a standard behaviour (meaning it's not a dirty hack :) and will work for any Cocoa application.
-- Ale Muñoz http://sofanaranja.com http://bomberstudios.com
Hi,
I am referring the last one.
Opt-Tab (or a la Windows, Alt-Tab) always works since Tab is always present in any keyboard directly. But ] is hidden under Option in the Spanish one.
this is a problem with most other European keyboard layouts as well. I'm using Canadian keyboard layout most of the time while I'm coding for this reason. The Canadian layout has [ and ] on the two keys to the left of the return key, and { and } are shift and the same keys. I need [, ], {, } a lot when coding, so using a Canadian layout is good for my productivity in any case (a US layout works equally well of course).
If you enable it in your keyboard settings, you can switch keyboard layouts with cmd-shift-space, so it's quite quick and easy to switch between the two most recently used layouts (Canadian and German in my case). Furthermore, you can switch keyboard layouts by clicking in the flag that is displayed in the upper right corner of your screen (again, if you enabled it).
HTH, Nico
ps: If you're feeling adventurous, you can also add a dvorak layout to the list of your keyboard layouts ;-)
Juan <juanfc@...> writes:
Is impossible to access "Edit -> Indent line" since it is binding to Cmd-Opt-]
On the other hand in Sp keyb. you must press Opt fot access ] or [ keys....
] = Opt-]
actually the ]-key contains the *+] chars, * is with Shift, + is the default and, I've said ] is with option.
then if you press Cmd-Opt-] you always get "Edit -> Shift right" as if you've pressed Cmd-]
Yes, unfortunately, European keyboard layouts are pretty terrible for editing source code, as they make it hard to type non-alphanumeric ASCII characters, in favor of various accented characters, etc. This is particularly tragic because the Mac US keyboard layout has excellent support for easily typing all of the common accented characters, while also being excellent for typing special characters like `[]{}();:'"<>/?|~!@#$%^&*-_=+`, all of which either have a reserved key or use only shift as a modifier.
Many Europeans, including Allan (the TextMate developer) use the US keyboard layout for coding, because they have found that the benefit of easily typable syntax to vastly outweigh the slightly harder-to-type accented letters. Others stick to their European layouts but complain bitterly about hard-to-reach bundle shortcuts, and their general unhappiness with requiring hand acrobatics to do any kind of coding.
Personally, I think that the US Mac keyboard layout is the best layout in mainstream use (much better and more consistent than the keyboard layouts used in Windows/Linux for typing accented characters), and with some personal tweaking (use Ukelele for this) can be made excellent for writing any language with a mostly latin alphabet.
-Jacob