Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to map 'shift-esc' to 'esc esc esc' on my macbook pro, but haven't find a way to do it.

I have tried Better Touch Tool, it can remap a key combination to another, but not to a sequence of keystrokes.

share|improve this question

1 Answer 1

Within what application do you want this binding? I'm guessing Terminal or iTerm.

For iTerm, you can select Preferences > Keys then add a global shortcut to the action you want.

For Terminal it's similar. Preferences > Keyboard but you'll have to know the keystroke sequence in hex (I believe ESC is 0x35)

The other way to set shortcuts is in System Preferences > Keyboard > App Shortcuts. This is the easy way to map a menu option but may not be appropriate for your use case.

share|improve this answer
    
I am looking for a general solution, i.e. for any application. –  qed Jul 26 at 9:46

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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