intellij-ideaclojurecursive

Remove Alt-S keybinding


In IntelliJ IDEA for Windows there are lots of keybindings that take you to the menu bar. For example Alt-S takes you to the VCS menu. I would like to remove this binding. The problem is I can't seem to find it to remove it.

The context (orthogonal to the question) is that there are certain standard key combinations that other Cursive users use, and I would like to use the same keystrokes as everyone else. Alt-S seems to be covering one of these key combinations. Other non-Windows users do not seem to have this problem.

As it happens the particular keystrokes I am looking to set up are for the commands: Raise, Splice, Split and Sexpr aware kill.

Edit I found the correct documentation you need to make Alt+S splice rather than go to the VCS menu, so please see my answer.


Solution

  • This is not Intellij's behavior, it's coming from Windows. Windows allows you to hit alt, and then select items from the menu bar based on the first letter.

    I was poking around and it looks like you'll need to use some kind of key remapping software that modifies the registry to get the behavior that you want. I've seen Sharpkeys, AutoHotkeys, and KeyTweak all mentioned as possible candidates.

    Make AutoHotKey ignore Alt as menu key

    I've been using AutoHotkey already, so I added this line to my script and it fixed this annoying behavior in almost all applications:
    
    ~LAlt Up:: return