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.

In OS X Terminal I've configured the Home (Ctrl+A = \001), End (Ctrl+E = \005), Page Up (\033[5~) and Page Down (\033[6~) keys, so I improved the Midnight Commander experience a lot.

But how do I get the Help key to act as the Ins key (to select the focused file)?

share|improve this question

1 Answer 1

up vote 1 down vote accepted


According to this MacWorld Hint, \033[2~ is the keycode for Ins.

I am not sure if this is true for Linux, my terminal reports ^[[2~ (by running cat and pressing Ins), but a friend of mine who has a Mac used this hint, and had success.


  1. Open Terminal.app
  2. Hit Cmd-, to open preferences
  3. Go to the profile setup tab, and click on the profile you use
  4. Open the edit keyboard bindings pane
  5. Map Help to \033[2~ (if you cannot bind help, bind some other key like F12)
share|improve this answer

Your Answer


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.