Stop Alt key bringing up the menu in Sublime Text 2

后端 未结 2 441
-上瘾入骨i
-上瘾入骨i 2021-02-06 13:38

I\'m an Emacs user looking into Sublime Text 2. I\'ve remapped the default Emacs key bindings and have become accustomed to moving about using Alt+i, Alt+k, Alt+j, Alt+l for up,

2条回答
  •  梦如初夏
    2021-02-06 14:21

    If you use Autohotkey, you can try to use #IfWinActive which will only apply hotkeys if a certain windows is active. Then your code would look something like this

    #IfWinActive, Emacs ; the name of the window
    ~LAlt::return ;this enables the LAlt + hotkey action but disables LAlt
    LAlt & space::tooltip,do stuff
    ...
    #IfWinActive ;end
    

提交回复
热议问题