Permalink
Browse files

add sublime

  • Loading branch information...
1 parent e621452 commit 07976c47a64da664e83a9ef8fb79c1b124b261bf @tj committed Nov 13, 2013
Showing with 49 additions and 0 deletions.
  1. +49 −0 sublime.md
View
@@ -0,0 +1,49 @@
+
+# Sublime
+
+## Editing
+
+ ⌘ + X Delete line
+ ⌘ + ↩ Insert line after
+ ⌘ + ⇧ + ↩ Insert line before
+ ⌘ + ⌃ + ↑ Move line/selection up
+ ⌘ + ⌃ + ↓ Move line/selection down
+ ⌘ + L Select line - Repeat to select next lines
+ ⌘ + D Select word - Repeat select others occurrences
+ ⌃ + M Jump to closing parentheses Repeat to jump to opening parentheses
+ ⌃ + ⇧ + M Select all contents of the current parentheses
+ ⌘ + K, ⌘ + K Delete from cursor to end of line
+ ⌘ + K + ⌫ Delete from cursor to start of line
+ ⌘ + ] Indent current line(s)
+ ⌘ + [ Un-indent current line(s)
+ ⌘ + ⇧ + D Duplicate line(s)
+ ⌘ + J Join line below to the end of the current line
+ ⌘ + / Comment/un-comment current line
+ ⌘ + ⌥ + / Block comment current selection
+ ⌘ + Y Redo, or repeat last keyboard shortcut command
+ ⌘ + ⇧ + V Paste and indent correctly
+ ⌃ + Space Select next auto-complete suggestion
+ ⌃ + U Soft undo; jumps to your last change before undoing change when repeated
+ ⌃ + ⇧ + Up Column selection up
+ ⌃ + ⇧ + Down Column selection down
+
+## Navigation
+
+ ⌘ + P Quick-open files by name
+ ⌘ + R Goto symbol
+ Goto word in current file
+ ⌃ + G Goto line in current file
+
+## General
+
+ ⌘ + ⇧ + P Command prompt
+ ⌘ + K, ⌘ + B Toggle side bar
+ ⌃ + ⇧ + P Show scope in status bar
+
+## Splits
+
+ ⌘ + ⌥ + 2 Split view into two columns
+ ⌘ + ⌥ + 1 Revert view to single column
+ ⌘ + ⌥ + 5 Set view to grid (4 groups)
+ ⌃ + [NUM] Jump to group where num is 1-4
+ ⌃ + ⇧ + [NUM] Move file to specified group where num is 1-4

0 comments on commit 07976c4

Please sign in to comment.