I'm trying to execute C-M-- from Emacs on Terminal (iTerm2) running on OSX, but I keep getting an error saying C-M-_ is undefined. Any ideas how to workaround this?


I eventually got this working by going into iTerm2 preferences and adding a new global shortcut key binding where I entered as Keyboard Shortcut ^⌥-, chose Action Send Escape Sequence and just typed - in the Esc+ field. That seems to do the trick.

Thanks @Gilles and @PythonNut for their help :)

  • If you're satisfied with this answer, could you please accept it so we can mark it as answered?
    – Dan
    Oct 4 '15 at 15:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.