Fix Terminal Keys

From Flo's Knowledge in a Nutshell

Jump to: navigation, search

Terminal Keybindings

Its quite annoying that the OSX terminal interprets the "home" "end" "page up" and "page down" key that it only modifies the viewport and not the position of the cursor. If you want to fix this, you can change the keybindings.

Step by step

  • Terminal -> Preferences
  • Settings -> Keyboard
  • Use the following Keys/Escape sequence schema:
KeyEscape Escape Sequence
End \033[4~
Home \033[1~
Page-Down \033[6~
Page-Up \033[5~
  • Restart Terminal and have fun :)
Personal tools