I gather that the Alt key is the "Meta" key on Linux; however, no
matter what key I press with Meta, it just inserts a line break:
the remaining text of the line after the cursor just shifts straight
down one line.
Is there another key that's the "Meta" key? Is there something I
need to do to allow me to use the Alt key as the Meta key?
I'm using Komodo 5.2.1.
The meta key is the "Windows" key usually located between the Ctrl and Alt keys (also known as the Cmd key on the Mac). Note that some keyboards do not have this additional key.
Cheers,
Todd
OK, that's working. But is there any way to remap Meta to the Alt key? I'd like to use Komodo on both OS X and Linux, and it's way inconvenient to have the Meta key in wildly different places.
Yes it is - open Komodo's preferences (Edit->Preferences menu on Linux, Komodo->Preferences menu on Mac) and then naviagte to the "Editor->Key Bindings" category, search for the command you wish to change (or enter the keybinding in the textbox and then select the matching command) and modify as you see fit :)
Cheers,
Todd
D'oh!
I meant globally remapping Meta to Alt...but, of course, I can change the individual bindings.
Thanks!
Komodo does not offer any UI to globally change a keybinding, though you could edit the Komodo keybinding file (kkf) manually and perform a global replacement (it's just a text file).
User customized keybinding files are stored in your profile, under the "schemes" directory:
http://community.activestate.com/faq/komodo-profile-structure
Cheers,
Todd
...but I'll keep that in mind for the future. Thanks!