if you don’t have a mac, and you don’t use vi, you can quit reading this now.
are the page up and page down (fn+arrow keys) driving you mad in vi?? like when you are vi-ing (new term for vi editing) a large file and you want to page down or page up. sure, you can use the ctrl-b and ctrl-f keys in vi. but what about the mac page up and page down keys–they dont works so well with vi.
well suffer no more. change it to how it would work in ubuntu or most any other linux distro. when in your mac terminal, go to terminal preferences and then look at the keyboard prefs. change these mappings and have fun.
| Key | Escape Sequence |
|---|---|
| Home | \033[1~ |
| End | \033[4~ |
| Page Up | \033[5~ |
| Page Down | \033[6~ |
News June 17th 2010
