Skip to content

Instantly share code, notes, and snippets.

@rodrigore
Created July 10, 2012 17:28

Revisions

  1. Eoin Ó Conchúir revised this gist Feb 23, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@ Loosely ordered with the commands I use most towards the top. Sublime also offer

    h2. Editing

    | *Ctrl+C* | copy current line (if no selection) |
    | *Ctrl+X* | cut current line (if no selection) |
    | *Ctrl+⇧+K*| delete line |
    | *Ctrl+↩* | insert line after |
  2. Eoin Ó Conchúir revised this gist Feb 23, 2012. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,8 @@ Loosely ordered with the commands I use most towards the top. Sublime also offer

    h2. Editing

    | *Ctrl+X* | delete line |
    | *Ctrl+X* | cut current line (if no selection) |
    | *Ctrl+⇧+K*| delete line |
    | *Ctrl+↩* | insert line after |
    | *Ctrl+⇧+↩* | insert line before |
    | *Ctrl+⇧+↑* | move line (or selection) up |
  3. Eoin Ó Conchúir revised this gist Feb 22, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    h1. Sublime Text 2 - Useful Shortcuts (PC)

    Loosely ordered with the commands I use most towards the top. Sublime also offer [full documentation](http://www.sublimetext.com/docs/2/).
    Loosely ordered with the commands I use most towards the top. Sublime also offer "full documentation":http://www.sublimetext.com/docs/2/.

    h2. Editing

  4. Eoin Ó Conchúir revised this gist Feb 22, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    h1. Sublime Text 2 - Useful Shortcuts (PC)

    Loosely ordered with the commands I use most towards the top.
    Loosely ordered with the commands I use most towards the top. Sublime also offer [full documentation](http://www.sublimetext.com/docs/2/).

    h2. Editing

  5. eteanga revised this gist Feb 20, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -46,6 +46,7 @@ h2. Find/Replace
    h2. Tabs

    | *Ctrl+⇧+t* | open last closed tab (just like in your browser) |
    | *Ctrl+PgDn*| cycle down through open tabs, cycle up with Ctrl+PgUp |
    | *Ctrl+⇆* | cycle through last tabs (repeat to go back further in history) |

    h2. Split window
  6. eteanga revised this gist Feb 18, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -14,8 +14,8 @@ h2. Editing
    | *Ctrl+⇧+M* | select all contents of the current brackets (curly brackets, square brackets, parentheses) |
    | *Ctrl+KK* | delete from cursor to end of line |
    | *Ctrl+K+⌫* | delete from cursor to start of line |
    | *Ctrl+]* | indent current line(s)
    | *Ctrl+[* | un-indent current line(s)
    | *Ctrl+]* | indent current line(s) |
    | *Ctrl+[* | un-indent current line(s) |
    | *Ctrl+⇧+D* | duplicate line(s) |
    | *Ctrl+J* | join line below to the end of the current line |
    | *Ctrl+ /* | comment/un-comment current line |
  7. eteanga revised this gist Feb 18, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -46,7 +46,7 @@ h2. Find/Replace
    h2. Tabs

    | *Ctrl+⇧+t* | open last closed tab (just like in your browser) |
    | *Ctrl+Tab* | cycle through last tabs (repeat to go back further in history) |
    | *Ctrl+* | cycle through last tabs (repeat to go back further in history) |

    h2. Split window

  8. eteanga revised this gist Feb 17, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -46,6 +46,7 @@ h2. Find/Replace
    h2. Tabs

    | *Ctrl+⇧+t* | open last closed tab (just like in your browser) |
    | *Ctrl+Tab* | cycle through last tabs (repeat to go back further in history) |

    h2. Split window

  9. eteanga revised this gist Feb 16, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -10,17 +10,19 @@ h2. Editing
    | *Ctrl+⇧+↑* | move line (or selection) up |
    | *Ctrl+L* | select line (repeat to select next lines) |
    | *Ctrl+D* | select word (repeat select others occurrences in context for multiple editing) |
    | *Ctrl+M* | jump to closing bracket for current code, repeat to jump to opening bracket |
    | *Ctrl+⇧+M* | select all contents of the current brackets (curly brackets, square brackets, parentheses) |
    | *Ctrl+KK* | delete from cursor to end of line |
    | *Ctrl+K+⌫* | delete from cursor to start of line |
    | *Ctrl+]* | indent current line(s)
    | *Ctrl+[* | un-indent current line(s)
    | *Ctrl+⇧+D* | duplicate line(s) |
    | *Ctrl+J* | join line below to the end of the current line |
    | *Ctrl+ /* | comment/un-comment current line |
    | *Ctrl+⇧+/* | block comment current selection |
    | *Ctrl+Y* | redo, or repeat last keyboard shortcut command |
    | *Ctrl+⇧+V* | paste and indent correctly |
    | *Ctrl+Space* | select next auto-complete suggestion |
    | *Ctrl+M* | jump to closing bracket for current code, repeat to jump to opening bracket |
    | *Ctrl+U* | soft undo (somehow undoes your movements; it jumps to your last change before undoing it when you repeat this command) |

    h2. Navigation/Goto Anywhere
  10. eteanga revised this gist Feb 13, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    h1. Sublime Text 2 - Useful Shortcuts (PC)

    Loosely re-ordered for commands I use most to be at the top.
    Loosely ordered with the commands I use most towards the top.

    h2. Editing

  11. eteanga revised this gist Feb 13, 2012. 1 changed file with 23 additions and 23 deletions.
    46 changes: 23 additions & 23 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -15,43 +15,43 @@ h2. Editing
    | *Ctrl+K+⌫* | delete from cursor to start of line |
    | *Ctrl+⇧+D* | duplicate line(s) |
    | *Ctrl+J* | join line below to the end of the current line |
    | *Ctrl+ /* | comment |
    | *Ctrl+⇧+/* | block comment |
    | *Ctrl+Y* | redo or repeat |
    | *Ctrl+⇧+V* | past and ident |
    | *Alt+/* | autocomplete (repeat to select next suggestion). Default is Ctrl+Space, but it always reserved for language change in Chinese Windows environment. |

    | *Ctrl+M* | jump to matching brackets |
    | *Ctrl+U* | soft undo (movement undo) |

    h2. General

    | *Ctrl+KB* | toggle side bar |
    | *Ctrl+⇧+P* | command prompt |
    | *Ctrl+`* | python console |
    | *Ctrl+N* | new file |
    | *Ctrl+ /* | comment/un-comment current line |
    | *Ctrl+⇧+/* | block comment current selection |
    | *Ctrl+Y* | redo, or repeat last keyboard shortcut command |
    | *Ctrl+⇧+V* | paste and indent correctly |
    | *Ctrl+Space* | select next auto-complete suggestion |
    | *Ctrl+M* | jump to closing bracket for current code, repeat to jump to opening bracket |
    | *Ctrl+U* | soft undo (somehow undoes your movements; it jumps to your last change before undoing it when you repeat this command) |

    h2. Navigation/Goto Anywhere

    | *Ctrl+P* | goto anyway. Search files by name in your project. |
    | *Ctrl+R* | goto symbol(functions and classes) in the file. Same as *Ctrl+P*, then type *@*|
    | *Ctrl+P* | quick-open files by name in your project (doesn't seem to need an actual project set up, it just searches in the directories around the currently-opened file |
    | *Ctrl+R* | goto symbol (functions and classes) in the file. Same as *Ctrl+P*, then type *@*|
    | *Ctrl+;* | goto word in current file. Same as *Ctrl+P*, then type *#*|
    | *Ctrl+G* | goto line in current file. Same as *Ctrl+P*, then type *:*|

    h2. General

    | *Ctrl+⇧+P* | command prompt |
    | *Ctrl+KB* | toggle side bar |

    h2. Find/Replace

    | *Ctrl+F* | find |
    | *Ctrl+H* | replace |
    | *Ctrl+⇧+F* | find in files |

    h2. Splits/Tabs
    h2. Tabs

    | *Ctrl+⇧+t* | open last closed tab (just like in your browser) |

    h2. Split window

    | *Alt+⇧+1* | single column |
    | *Alt+⇧+2* | two columns |
    | *Alt+⇧+2* | split into two columns |
    | *Alt+⇧+1* | revert to single column |
    | *Alt+⇧+5* | grid (4 groups) |
    | *Ctrl+[1,2,3,4]* | focus group |
    | *Ctrl+⇧+[1,2,3,4]* | move file to group |
    | *Ctrl+[1,2,3...]* | select tab |
    | *Ctrl+[1,2,3,4]* | jump to "group" (pane) |
    | *Ctrl+⇧+[1,2,3,4]* | move file to specified group |

    h2. Bookmarks

  12. eteanga revised this gist Feb 13, 2012. 1 changed file with 15 additions and 9 deletions.
    24 changes: 15 additions & 9 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,20 @@
    h1. Sublime Text 2 - Useful Shortcuts (PC)

    Loosely re-ordered for commands I use most to be at the top.

    h2. Editing

    | *Ctrl+L* | select line (repeat select next lines) |
    | *Ctrl+D* | select word (repeat select others occurrences in context for multiple editing) |
    | *Ctrl+⇧+M* | select content into brackets |
    | *Ctrl+⇧+↩* | insert line before |
    | *Ctrl+↩* | insert line after |
    | *Ctrl+X* | delete line |
    | *Ctrl+↩* | insert line after |
    | *Ctrl+⇧+↩* | insert line before |
    | *Ctrl+⇧+↑* | move line (or selection) up |
    | *Ctrl+L* | select line (repeat to select next lines) |
    | *Ctrl+D* | select word (repeat select others occurrences in context for multiple editing) |
    | *Ctrl+⇧+M* | select all contents of the current brackets (curly brackets, square brackets, parentheses) |
    | *Ctrl+KK* | delete from cursor to end of line |
    | *Ctrl+K+⌫* | delete from cursor to start of line |
    | *Ctrl+⇧+D* | duplicate line(s) |
    | *Ctrl+J* | join lines |
    | *Ctrl+KU* | upper case |
    | *Ctrl+KL* | lower case |
    | *Ctrl+J* | join line below to the end of the current line |
    | *Ctrl+ /* | comment |
    | *Ctrl+⇧+/* | block comment |
    | *Ctrl+Y* | redo or repeat |
    @@ -57,4 +58,9 @@ h2. Bookmarks
    | *Ctrl+F2* | toggle bookmark |
    | *F2* | next bookmark |
    | *⇧+F2* | previous bookmark |
    | *Ctrl+⇧+F2* | clear bookmarks |
    | *Ctrl+⇧+F2* | clear bookmarks |

    h2. Text manipulation

    | *Ctrl+KU* | upper case |
    | *Ctrl+KL* | lower case |
  13. eteanga revised this gist Feb 13, 2012. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,5 @@
    h1. Sublime Text 2 - Useful Shortcuts (PC)

    h2. General

    | *Ctrl+KB* | toggle side bar |
    | *Ctrl+⇧+P* | command prompt |
    | *Ctrl+`* | python console |
    | *Ctrl+N* | new file |

    h2. Editing

    | *Ctrl+L* | select line (repeat select next lines) |
    @@ -30,6 +23,13 @@ h2. Editing
    | *Ctrl+M* | jump to matching brackets |
    | *Ctrl+U* | soft undo (movement undo) |

    h2. General

    | *Ctrl+KB* | toggle side bar |
    | *Ctrl+⇧+P* | command prompt |
    | *Ctrl+`* | python console |
    | *Ctrl+N* | new file |

    h2. Navigation/Goto Anywhere

    | *Ctrl+P* | goto anyway. Search files by name in your project. |
  14. eteanga revised this gist Feb 4, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -16,7 +16,7 @@ h2. Editing
    | *Ctrl+↩* | insert line after |
    | *Ctrl+X* | delete line |
    | *Ctrl+KK* | delete from cursor to end of line |
    | *Ctrl+K+Backspace* | delete from cursor to start of line |
    | *Ctrl+K+* | delete from cursor to start of line |
    | *Ctrl+⇧+D* | duplicate line(s) |
    | *Ctrl+J* | join lines |
    | *Ctrl+KU* | upper case |
  15. eteanga revised this gist Feb 4, 2012. 1 changed file with 11 additions and 11 deletions.
    22 changes: 11 additions & 11 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ h1. Sublime Text 2 - Useful Shortcuts (PC)
    h2. General

    | *Ctrl+KB* | toggle side bar |
    | *Ctrl+Shift+P* | command prompt |
    | *Ctrl++P* | command prompt |
    | *Ctrl+`* | python console |
    | *Ctrl+N* | new file |

    @@ -17,14 +17,14 @@ h2. Editing
    | *Ctrl+X* | delete line |
    | *Ctrl+KK* | delete from cursor to end of line |
    | *Ctrl+K+Backspace* | delete from cursor to start of line |
    | *Ctrl+Shift+D* | duplicate line(s) |
    | *Ctrl++D* | duplicate line(s) |
    | *Ctrl+J* | join lines |
    | *Ctrl+KU* | upper case |
    | *Ctrl+KL* | lower case |
    | *Ctrl+ /* | comment |
    | *Ctrl+Shift+/* | block comment |
    | *Ctrl++/* | block comment |
    | *Ctrl+Y* | redo or repeat |
    | *Ctrl+Shift+V* | past and ident |
    | *Ctrl++V* | past and ident |
    | *Alt+/* | autocomplete (repeat to select next suggestion). Default is Ctrl+Space, but it always reserved for language change in Chinese Windows environment. |

    | *Ctrl+M* | jump to matching brackets |
    @@ -41,20 +41,20 @@ h2. Find/Replace

    | *Ctrl+F* | find |
    | *Ctrl+H* | replace |
    | *Ctrl+Shift+F* | find in files |
    | *Ctrl++F* | find in files |

    h2. Splits/Tabs

    | *Alt+Shift+1* | single column |
    | *Alt+Shift+2* | two columns |
    | *Alt+Shift+5* | grid (4 groups) |
    | *Alt++1* | single column |
    | *Alt++2* | two columns |
    | *Alt++5* | grid (4 groups) |
    | *Ctrl+[1,2,3,4]* | focus group |
    | *Ctrl+Shift+[1,2,3,4]* | move file to group |
    | *Ctrl++[1,2,3,4]* | move file to group |
    | *Ctrl+[1,2,3...]* | select tab |

    h2. Bookmarks

    | *Ctrl+F2* | toggle bookmark |
    | *F2* | next bookmark |
    | *Shift+F2* | previous bookmark |
    | *Ctrl+Shift+F2* | clear bookmarks |
    | *+F2* | previous bookmark |
    | *Ctrl++F2* | clear bookmarks |
  16. eteanga revised this gist Feb 4, 2012. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -12,8 +12,8 @@ h2. Editing
    | *Ctrl+L* | select line (repeat select next lines) |
    | *Ctrl+D* | select word (repeat select others occurrences in context for multiple editing) |
    | *Ctrl+⇧+M* | select content into brackets |
    | *Ctrl+⇧+↩ | insert line before |
    | *Ctrl+↩ | insert line after |
    | *Ctrl+⇧+↩* | insert line before |
    | *Ctrl+↩* | insert line after |
    | *Ctrl+X* | delete line |
    | *Ctrl+KK* | delete from cursor to end of line |
    | *Ctrl+K+Backspace* | delete from cursor to start of line |
  17. eteanga revised this gist Feb 4, 2012. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -11,7 +11,9 @@ h2. Editing

    | *Ctrl+L* | select line (repeat select next lines) |
    | *Ctrl+D* | select word (repeat select others occurrences in context for multiple editing) |
    | *Ctrl+Shift+M* | select content into brackets |
    | *Ctrl+⇧+M* | select content into brackets |
    | *Ctrl+⇧+↩ | insert line before |
    | *Ctrl+↩ | insert line after |
    | *Ctrl+X* | delete line |
    | *Ctrl+KK* | delete from cursor to end of line |
    | *Ctrl+K+Backspace* | delete from cursor to start of line |
  18. eteanga revised this gist Feb 4, 2012. 1 changed file with 8 additions and 8 deletions.
    16 changes: 8 additions & 8 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,13 @@
    # Sublime Text 2 - Useful Shortcuts (PC)
    h1. Sublime Text 2 - Useful Shortcuts (PC)

    ## General
    h2. General

    | *Ctrl+KB* | toggle side bar |
    | *Ctrl+Shift+P* | command prompt |
    | *Ctrl+`* | python console |
    | *Ctrl+N* | new file |

    ## Editing
    h2. Editing

    | *Ctrl+L* | select line (repeat select next lines) |
    | *Ctrl+D* | select word (repeat select others occurrences in context for multiple editing) |
    @@ -28,20 +28,20 @@
    | *Ctrl+M* | jump to matching brackets |
    | *Ctrl+U* | soft undo (movement undo) |

    ## Navigation/Goto Anywhere
    h2. Navigation/Goto Anywhere

    | *Ctrl+P* | goto anyway. Search files by name in your project. |
    | *Ctrl+R* | goto symbol(functions and classes) in the file. Same as *Ctrl+P*, then type *@*|
    | *Ctrl+;* | goto word in current file. Same as *Ctrl+P*, then type *#*|
    | *Ctrl+G* | goto line in current file. Same as *Ctrl+P*, then type *:*|

    ## Find/Replace
    h2. Find/Replace

    | *Ctrl+F* | find |
    | *Ctrl+H* | replace |
    | *Ctrl+Shift+F* | find in files |

    ## Splits/Tabs
    h2. Splits/Tabs

    | *Alt+Shift+1* | single column |
    | *Alt+Shift+2* | two columns |
    @@ -50,9 +50,9 @@
    | *Ctrl+Shift+[1,2,3,4]* | move file to group |
    | *Ctrl+[1,2,3...]* | select tab |

    ## Bookmarks
    h2. Bookmarks

    | *Ctrl+F2* | toggle bookmark |
    | *F2* | next bookmark |
    | *Shift+F2* | previous bookmark |
    | *Ctrl+Shift+F2* | clear bookmarks |
    | *Ctrl+Shift+F2* | clear bookmarks |
  19. eteanga renamed this gist Feb 4, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  20. eteanga renamed this gist Feb 4, 2012. 1 changed file with 7 additions and 7 deletions.
    14 changes: 7 additions & 7 deletions gistfile1.textile → gistfile1.md
    Original file line number Diff line number Diff line change
    @@ -1,13 +1,13 @@
    h1. Sublime Text 2 - Useful Shortcuts (Windows)
    # Sublime Text 2 - Useful Shortcuts (PC)

    h2. General
    ## General

    | *Ctrl+KB* | toggle side bar |
    | *Ctrl+Shift+P* | command prompt |
    | *Ctrl+`* | python console |
    | *Ctrl+N* | new file |

    h2. Editing
    ## Editing

    | *Ctrl+L* | select line (repeat select next lines) |
    | *Ctrl+D* | select word (repeat select others occurrences in context for multiple editing) |
    @@ -28,20 +28,20 @@ h2. Editing
    | *Ctrl+M* | jump to matching brackets |
    | *Ctrl+U* | soft undo (movement undo) |

    h2. Navigation/Goto Anywhere
    ## Navigation/Goto Anywhere

    | *Ctrl+P* | goto anyway. Search files by name in your project. |
    | *Ctrl+R* | goto symbol(functions and classes) in the file. Same as *Ctrl+P*, then type *@*|
    | *Ctrl+;* | goto word in current file. Same as *Ctrl+P*, then type *#*|
    | *Ctrl+G* | goto line in current file. Same as *Ctrl+P*, then type *:*|

    h2. Find/Replace
    ## Find/Replace

    | *Ctrl+F* | find |
    | *Ctrl+H* | replace |
    | *Ctrl+Shift+F* | find in files |

    h2. Splits/Tabs
    ## Splits/Tabs

    | *Alt+Shift+1* | single column |
    | *Alt+Shift+2* | two columns |
    @@ -50,7 +50,7 @@ h2. Splits/Tabs
    | *Ctrl+Shift+[1,2,3,4]* | move file to group |
    | *Ctrl+[1,2,3...]* | select tab |

    h2. Bookmarks
    ## Bookmarks

    | *Ctrl+F2* | toggle bookmark |
    | *F2* | next bookmark |
  21. @hileon hileon revised this gist Dec 30, 2011. 1 changed file with 7 additions and 9 deletions.
    16 changes: 7 additions & 9 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,6 @@ h1. Sublime Text 2 - Useful Shortcuts (Windows)

    h2. General

    | *Ctrl+R* | go to methods |
    | *Ctrl+G* | go to line |
    | *Ctrl+KB* | toggle side bar |
    | *Ctrl+Shift+P* | command prompt |
    | *Ctrl+`* | python console |
    @@ -30,19 +28,19 @@ h2. Editing
    | *Ctrl+M* | jump to matching brackets |
    | *Ctrl+U* | soft undo (movement undo) |

    h2. Navigation/Goto Anywhere

    | *Ctrl+P* | goto anyway. Search files by name in your project. |
    | *Ctrl+R* | goto symbol(functions and classes) in the file. Same as *Ctrl+P*, then type *@*|
    | *Ctrl+;* | goto word in current file. Same as *Ctrl+P*, then type *#*|
    | *Ctrl+G* | goto line in current file. Same as *Ctrl+P*, then type *:*|

    h2. Find/Replace

    | *Ctrl+F* | find |
    | *Ctrl+H* | replace |
    | *Ctrl+Shift+F* | find in files |

    h2. Navigation/Goto Anywhere

    | *Ctrl+P* | goto anyway. Search files by name in your project. |
    | *Ctrl+R* | goto symbol(functions and classes) in the file. Same as *Ctrl+P*, then type @|
    | *Ctrl+;* | goto word in current file. Same as *Ctrl+P*, then type #|
    | *Ctrl+G* | goto line in current file. Same as *Ctrl+P*, then type :|

    h2. Splits/Tabs

    | *Alt+Shift+1* | single column |
  22. @hileon hileon revised this gist Dec 30, 2011. 1 changed file with 7 additions and 0 deletions.
    7 changes: 7 additions & 0 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -36,6 +36,13 @@ h2. Find/Replace
    | *Ctrl+H* | replace |
    | *Ctrl+Shift+F* | find in files |

    h2. Navigation/Goto Anywhere

    | *Ctrl+P* | goto anyway. Search files by name in your project. |
    | *Ctrl+R* | goto symbol(functions and classes) in the file. Same as *Ctrl+P*, then type @|
    | *Ctrl+;* | goto word in current file. Same as *Ctrl+P*, then type #|
    | *Ctrl+G* | goto line in current file. Same as *Ctrl+P*, then type :|

    h2. Splits/Tabs

    | *Alt+Shift+1* | single column |
  23. @hileon hileon revised this gist Oct 25, 2011. 1 changed file with 30 additions and 46 deletions.
    76 changes: 30 additions & 46 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -11,59 +11,43 @@ h2. General

    h2. Editing

    | *⌘L* | select line (repeat select next lines) |
    | *⌘D* | select word (repeat select others occurrences in context for multiple editing) |
    | *⌃⇧M* | select content into brackets |
    | *⌘⇧↩* | insert line before |
    | *⌘↩* | inter line after |
    | *⌃⇧K* | delete line |
    | *⌘KK* | delete from cursor to end of line |
    | *⌘K⌫* | delete from cursor to start of line |
    | *⌘⇧D* | duplicate line(s) |
    | *⌘J* | join lines |
    | *⌘KU* | upper case |
    | *⌘KL* | lower case |
    | *⌘ /* | comment |
    | *⌘⌥ /* | block comment |
    | *⌘Y* | redo or repeat |
    | *⌘⇧V* | past and ident |
    | *⌃ space* | autocomplete (repeat to select next suggestion) |
    | *⌃M* | jump to matching brackets |
    | *⌘U* | soft undo (movement undo) |
    | *⌘⇧U* | soft redo (movement redo) |

    h2. XML/HTML

    | *⌘⇧A* | select content into tag |
    | *⌘⌥ .* | close tag |
    | *Ctrl+L* | select line (repeat select next lines) |
    | *Ctrl+D* | select word (repeat select others occurrences in context for multiple editing) |
    | *Ctrl+Shift+M* | select content into brackets |
    | *Ctrl+X* | delete line |
    | *Ctrl+KK* | delete from cursor to end of line |
    | *Ctrl+K+Backspace* | delete from cursor to start of line |
    | *Ctrl+Shift+D* | duplicate line(s) |
    | *Ctrl+J* | join lines |
    | *Ctrl+KU* | upper case |
    | *Ctrl+KL* | lower case |
    | *Ctrl+ /* | comment |
    | *Ctrl+Shift+/* | block comment |
    | *Ctrl+Y* | redo or repeat |
    | *Ctrl+Shift+V* | past and ident |
    | *Alt+/* | autocomplete (repeat to select next suggestion). Default is Ctrl+Space, but it always reserved for language change in Chinese Windows environment. |

    | *Ctrl+M* | jump to matching brackets |
    | *Ctrl+U* | soft undo (movement undo) |

    h2. Find/Replace

    | *⌘F* | find |
    | *⌘⌥F* | replace |
    | *⌘⌥G* | find next occurrence of current word |
    | *⌘⌃G* | select all occurrences of current word for multiple editing |
    | *⌘⇧F* | find in files |
    | *Ctrl+F* | find |
    | *Ctrl+H* | replace |
    | *Ctrl+Shift+F* | find in files |

    h2. Splits/Tabs

    | *⌘⌥1* | single column |
    | *⌘⌥2* | two columns |
    | *⌘⌥5* | grid (4 groups) |
    | *[1,2,3,4]* | focus group |
    | *⌃⇧[1,2,3,4]* | move file to group |
    | *[1,2,3...]* | select tab |
    | *Alt+Shift+1* | single column |
    | *Alt+Shift+2* | two columns |
    | *Alt+Shift+5* | grid (4 groups) |
    | *Ctrl+[1,2,3,4]* | focus group |
    | *Ctrl+Shift+[1,2,3,4]* | move file to group |
    | *Ctrl+[1,2,3...]* | select tab |

    h2. Bookmarks

    | *F2* | toggle bookmark |
    | *Ctrl+F2* | toggle bookmark |
    | *F2* | next bookmark |
    | *⇧F2* | previous bookmark |
    | *⌘⇧F2* | clear bookmarks |

    h2. Marks

    | *⌘K space* | set mark // ⌘K; for me |
    | *⌘KW* | delete from cursor to mark |
    | *⌘KA* | select from cursor to mark |
    | *⌘KG* | clear mark |
    | *Shift+F2* | previous bookmark |
    | *Ctrl+Shift+F2* | clear bookmarks |
  24. @hileon hileon revised this gist Oct 25, 2011. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -3,11 +3,11 @@ h1. Sublime Text 2 - Useful Shortcuts (Windows)
    h2. General

    | *Ctrl+R* | go to methods |
    | *G* | go to line |
    | *KB* | toggle side bar |
    | *⌘⇧P* | command prompt |
    | *`* | python console |
    | *⌘⇧N* | new window (useful for new project) |
    | *Ctrl+G* | go to line |
    | *Ctrl+KB* | toggle side bar |
    | *Ctrl+Shift+P* | command prompt |
    | *Ctrl+`* | python console |
    | *Ctrl+N* | new file |

    h2. Editing

  25. @hileon hileon revised this gist Oct 25, 2011. 1 changed file with 2 additions and 4 deletions.
    6 changes: 2 additions & 4 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -1,10 +1,8 @@
    h1. Sublime Text 2 - Useful Shortcuts (Mac OS X)
    h1. Sublime Text 2 - Useful Shortcuts (Windows)

    h2. General

    | *⌘T* | go to file |
    | *⌘⌃P* | go to project |
    | *⌘R* | go to methods |
    | *Ctrl+R* | go to methods |
    | *⌃G* | go to line |
    | *⌘KB* | toggle side bar |
    | *⌘⇧P* | command prompt |
  26. @lucasfais lucasfais revised this gist Sep 20, 2011. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -31,6 +31,8 @@ h2. Editing
    | *⌘⇧V* | past and ident |
    | *⌃ space* | autocomplete (repeat to select next suggestion) |
    | *⌃M* | jump to matching brackets |
    | *⌘U* | soft undo (movement undo) |
    | *⌘⇧U* | soft redo (movement redo) |

    h2. XML/HTML

  27. @lucasfais lucasfais revised this gist Sep 20, 2011. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,7 @@ h2. General
    | *⌘KB* | toggle side bar |
    | *⌘⇧P* | command prompt |
    | *⌃ `* | python console |
    | *⌘⇧N* | new window (useful for new project) |

    h2. Editing

  28. @lucasfais lucasfais revised this gist Sep 19, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ h2. General
    | *⌘⌃P* | go to project |
    | *⌘R* | go to methods |
    | *⌃G* | go to line |
    | *⌘K-B* | toggle side bar |
    | *⌘KB* | toggle side bar |
    | *⌘⇧P* | command prompt |
    | *⌃ `* | python console |

  29. @lucasfais lucasfais revised this gist Sep 19, 2011. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,13 @@
    h1. Sublime Text 2 - Useful Shortcuts (Mac OS X)

    h2. Open/Goto
    h2. General

    | *⌘T* | go to file |
    | *⌘⌃P* | go to project |
    | *⌘R* | go to methods |
    | *⌘⇧P* | command prompt |
    | *⌃G* | go to line |
    | *⌘K-B* | toggle side bar |
    | *⌘⇧P* | command prompt |
    | *⌃ `* | python console |

    h2. Editing
  30. @lucasfais lucasfais revised this gist Sep 11, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -26,7 +26,7 @@ h2. Editing
    | *⌘ /* | comment |
    | *⌘⌥ /* | block comment |
    | *⌘Y* | redo or repeat |
    | *⌘⇧Z* | past and ident |
    | *⌘⇧V* | past and ident |
    | *⌃ space* | autocomplete (repeat to select next suggestion) |
    | *⌃M* | jump to matching brackets |