intellij-ideaterminalwebstormrubyminemeta-key

How do I get Jetbrains IDE's embedded terminal to recognize ALT/Option as the Meta key?


I'm currently working in WebStorm, but also use IDEA and RubyMine. I am using the embedded terminal and would like to get the Alt/Option key to be recognized as a the meta key, or at least send key+ESC.


Solution

  • Now that I have moved to zsh and have more experience with this issue. Here is what I have in my .zshrc file:

    ### Jetbrains terminal
    if [[ "$TERMINAL_EMULATOR" == "JetBrains-JediTerm" ]]; then
      bindkey -s "µ" "^E | less ^M" # Personal Alt-M shortcut
      bindkey "ƒ" forward-word
      bindkey "∫" backward-word
      bindkey "∂" kill-word
      bindkey "¬" downcase-word
      bindkey "ç" capitalize-word
      bindkey "†" transpose-words
      bindkey "≥" insert-last-word
      # bindkey "¨ " upcase-word
    fi
    

    Check out zsh list of standard Widgets