Skip to content

Instantly share code, notes, and snippets.

@NapoleonWils0n
Created November 11, 2012 19:30
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 NapoleonWils0n/4055995 to your computer and use it in GitHub Desktop.
Save NapoleonWils0n/4055995 to your computer and use it in GitHub Desktop.
macosx: keycboard shortcuts
==============================
= Mac osx keyboard shortcuts =
==============================
/* Paragraphs =============================================================================*/
control-A move to start of current paragraph
control-E move to end of current paragraph
command-left arrow move to start of current line
command-right arrow move to end of current line
control-N move down one line
control-P move up one line
control-O insert new line after cursor
option-up arrow move up one paragraph
option-down arrow move down one paragraph
option-left arrow move left one word
option-right arrow move right one word
control-B move left one character
control-F move right one character
/* Making Text Selections ====================================================================*/
click then drag select text
double-click then drag select text, wrapping to word ends
triple-click then drag select text, wrapping to paragraph ends
shift-select text with mouse add to selection (contiguous)
command-select text with mouse add to selection (non-contiguous)
option-drag select rectangular area (non-contiguous)
command-option-drag add rectangular area to selection
drag selection move text
option-drag selection copy text
/* Delete ====================================================================================*/
option-delete back delete one word
shift-option-delete foward delete one word
control-D forwards delete
control-H delete
control-K delete remainder of current paragraph
control-T transpose (swap) two surrounding character
control-V move to end, then left one character
control-Y paste text previously deleted with control-K
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment