Skip to content

Instantly share code, notes, and snippets.

@chenrui333
Last active November 5, 2018 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chenrui333/06137760a170f1a982f28d5fc2246027 to your computer and use it in GitHub Desktop.
Save chenrui333/06137760a170f1a982f28d5fc2246027 to your computer and use it in GitHub Desktop.
iterm2 key bindings

keys for deletion and cursor-moving

  • cmd + Delete, send hex codes 0x15, delete a line
  • option + Delete, send hex codes 0x17, delete a word
  • cmd + <-, send hex code 0x01, move cursor to the beginning
  • cmd + ->, send hex code 0x015, move cursor to the end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment