2
votes

NetBeans supports emacs-style keybindings, but for some reason it uses cmd as the "meta" key instead of alt, which seems to be the standard on OS X. (Terminal.app has a checkbox for "use option as meta key", for example.) How can I switch to using alt/option as the "meta" key for emacs-style keybindings?

2

2 Answers

0
votes

Not too long ago I'd export, edit and import an xml file using the keymap panel in preferences.

Now I'd do some file renaming in ~/.netbeans/6.7/config/Keymaps/profile

The Netbeans Key Codes seem to be:

 In 2008     NB 6.7.1     PC       Mac   
    D           M        Meta    command 
    S           S        Shift   shift   
    O           C        Ctrl    control 
    A           A        Alt     option  
0
votes

Actually you can go to ~/.netbeans/6.*/config/Editors/Keybings/profilename

And its a big XML file that you can edit.

Also despite his list up above, I see this in most commands.

A - option (alt)
D - command (meta)
S - Shift
O - Control

I was able to happily assign commands to use option.