Skip to content

Instantly share code, notes, and snippets.

View lstrgiang's full-sized avatar

Giang Lê lstrgiang

  • Remote Software Engineer
  • HCMC, Vietnam
View GitHub Profile
@lstrgiang
lstrgiang / keybindings.md
Created March 9, 2019 01:28 — forked from jimmyhillis/keybindings.md
iTerm 2 Mac-ready key binding additions.

Standard bindings

  • Move left between words: ⌥← | send escape sequence | b
  • Move right between words: ⌥→ | send escapes sequence | f
  • Start of the line: ⌘← | send escape sequence | [H
  • End of the line ⌘→ | send escape sequence | [F
  • Delete previous word ⌥←Delete | send hex code | 0x1B 0x08
  • Delete entire line ⌘←Delete | send hex code | 0x15

Don't forget the amazing icons ⌘ = command and ⌥ = options/alt (why oh why?).