Thursday, December 17, 2009

Fix MAC Terminal home/end/pageup/pagedown keys

http://theandystratton.com/2009/fixing-home-end-page-up-and-page-down-in-leopards-terminal

1. Open Terminal.app
2. Open the Preferences window (CMD+,)
3. Click the Settings tab
4. Select your current Settings theme, and click on the Keyboard tab
5. Edit (or Add) the entry for Home
* Set Action: to send string to shell:
* Set the string to \001 (or press Ctrl+a)
6. Edit (or Add) the entry for End
* Set Action: to send string to shell:
* Set the string to \005 (or press Ctrl+e)
7. Edit (or Add) the entry for Page Up
* Set Action: to send string to shell:
* Set the string to \033[5~ (copy and paste this in)
8. Edit (or Add) the entry for Page Down
* Set Action: to send string to shell:
* Set the string to \033[6~ (copy and paste this in)
9. Close the settings window.

No comments: