What's the status of Meta key support for the Emacs keymap

I'm using phpStorm 6.

When I go to Preferences > Keymap and set the Emacs keymap I see that Move Caret to Previous word should work with Option-B on MacOS.  (Attached screen clip.)  When I use Option-b I get "∫".  Option-f does work to move forward one word.  Option-w to save to kill ring doesn't work.  

I also tried to reassign the keys, but I can't figure out how to make Option or Command the first keystroke.

Is this a configuration issue on my part, or is this functionality not complete in phpStorm 6?

I found these:


I gues there is no way to vote on an issue?

Screen Shot 2013-04-13 at 8.22.17 AM.png
Comment actions Permalink

Hi Brian,

The ide doesn't allow to map one key to another and we don't have plans for trying to support that.

An official workaround is to create your custom keymap and map actions to target hotkeys there.


Comment actions Permalink

Hi Dennis,

Thanks for your reply.  I am not necessarily interested in mapping one key to another.
In the key map dialog I see this to the right of "Move Caret to Previous Word:Screen Shot 2013-04-15 at 8.26.16 AM.png

I think that the symbol preceeding the "B" represents the Option key in MacOS.  Am I correct?  If so, I would expect the cursor to move backwards one word when I press Option-B, : but instead when I press Option-B while editing a file this symbol appears: ∫. Is there some configuration I need to do in Mac OS to make the Option key work correctly in phpStorm?

Also,  I tried creating a custom keymap according to the manual link you provided. When I get into this Enter Keyboard Shortcut dialog:

Screen Shot 2013-04-15 at 8.37.13 AM.png
and press the Option key with the focus on the First Stroke field, nothing appears.  Shouldn't I see a symbol representing the Option key?

Thanks for your help.

Comment actions Permalink

Hi Briann,

Yes, that symbol stands for Option (you may have a look into IJ Mac OS keymap which provides information about that symbols).

It seems that Option+B is indeed intercepted at OS level, i.e. the ide  doesn't receive that event as is when you press them. Sorry, can't check further because I'm not on Mac but I googled that a little and this page says that Option+B is one of standard Mac keyboard mappings.

As far as I understand, you can try to disable that at Apple menu | System Preferences | International | Input Menu



Please sign in to leave a comment.