Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 1.8 KB

File metadata and controls

70 lines (55 loc) · 1.8 KB

Key Bindings

This file is my preferred list of keybindings. I try to get all of my editors to approximately follow this.

Editor Commands

  • Cmd + y Yank Line

  • Cmd + / Comment out line, cursor to next line

  • Cmd + p Find in project

  • Cmd + d Find and highlight, repetitive for multiple cursors

  • Cmd + n New File

  • Cmd + w Close Tab

  • Cmd + right/left End/Beginning of line

  • Cmd + up/down Top/Bottom of file

  • Cmd + f Find

  • Cmd + Alt + f Find/Replace

  • Cmd + Shift + f Find in files

  • Cmd + Shift + e Show in Finder

  • Cmd + Shift + r Show in Sidebar

  • Cmd + Shift + j JSHint

  • Cmd + Shift + t Trailing Spaces

  • Cmd + Shift + c Compare the two most recent tabs

  • Cmd + k, Cmd + k Delete to end of line

  • Cmd + k, Cmd + delete Delete to start of line

  • Cmd + Shift + d Duplicate line

  • Cmd + Shift + up/down Move line up/down

  • Cmd + Shift + l Cursor on every selected line*

  • Cmd + Alt + left/right Next/Prev Tab

  • Cmd + Alt + l Format and indent

  • Cmd + Alt + s Save all

  • Cmd + Alt + r Rename File

  • Cmd + Cntl + p Switch Project

  • Cntl + left/right Desktop Prev/Next

  • Cntl + up All Desktops

  • Cntl + down Single Desktop Overview

  • Alt + space Opens Alfred

Marks

  • Cmd + k, Cmd + m set_mark
  • Cmd + k, Cmd + a select_to_mark
  • Cmd + k, Cmd + d delete_to_mark
  • Cmd + k, Cmd + s swap_with_mark
  • Cmd + k, Cmd + x clear_bookmarks

Debugger

  • Next n
  • Step In s
  • Step Out o
  • Continue c

Chrome

  • Cmd + l Enter Address Bar
  • Cmd + t Open Tab
  • Cmd + w Close Tab

Still to figure out

  • Compare with latest version
  • Rollback
  • Inspect Code
  • Show in Sidebar

Notes

Super == Command Key