How to configure SHIFT+LEFT, SHIFT+RIGHT, SHIFT+HOME and SHIFT+END keys in terminal on Mac?

Posted by Misha Moroshko on Super User See other posts from Super User or by Misha Moroshko
Published on 2011-11-18T11:11:14Z Indexed on 2011/11/18 17:54 UTC
Read the original article Hit count: 260

Filed under:
|
|
|

To configure the Home and End keys in terminal on MacBook Air (OS X 10.7.2) I defined in Terminal -> Preferences -> Keyboard:

Key     Action
----    ------
Home    \033OH
End     \033OF

What are the codes to configure the following combinations so that they will work like in Windows?

  • Shift+Left (should select the character on the left)
  • Shift+Right (should select the character on the right)
  • Shift+Home (should select all the characters on the left)
  • Shift+End (should select all the characters on the right)

© Super User or respective owner

Related posts about osx

Related posts about mac