Skip to content

Instantly share code, notes, and snippets.

@henriquemenezes
Last active June 13, 2018 18:45
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 henriquemenezes/599b82aa819771c3801236d8d7c88ba0 to your computer and use it in GitHub Desktop.
Save henriquemenezes/599b82aa819771c3801236d8d7c88ba0 to your computer and use it in GitHub Desktop.
macOS

macOS

Keyboard Shortcuts

Mission Control

Open Mission Control

Command Description
Control–Up Open Mission Control

Move a window to a space

Command Description
Control–Right Switch window to right space
Control–Left Switch window to left space

Zsh & iTerm2

Move between words and the beginning/end of line

Put this in your .zshrc

bindkey "[D" backward-word
bindkey "[C" forward-word
bindkey "^[a" beginning-of-line
bindkey "^[e" end-of-line
Command Description
⌥ + ← Move one word backward
⌥ + → Move one word forward
esc + a Move to beginning of line
esc + e Move to end of line
fn + ← Move to beginning of line
fn + → Move to beginning of line

Reference

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment