Skip to content

Instantly share code, notes, and snippets.

@arbourd
Last active December 10, 2016 05:51
Show Gist options
  • Save arbourd/8394e0a95e2bcfb04575e46c4b9960fc to your computer and use it in GitHub Desktop.
Save arbourd/8394e0a95e2bcfb04575e46c4b9960fc to your computer and use it in GitHub Desktop.
Escape and hex bindings for standard macOS commands inside of iTerm

iTerm bindings for macOS functions


This table contains a list of escape or hex values that can be used to mimic existing key functionality from macOS inside of Iterm. These mappings work in both vim and tmux.

key description type binding
⌥ ← Move one word to the left escape [1;5D
⌥ → Move one word to the right escape [1;5C
⌘ ← Move to start of line escape [1~
⌘ → Move to end of line escape [4~
⌥ ⌫ Delete word hex 0x17
⌘ ⌫ Delete line hex 0x15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment