Skip to content

Instantly share code, notes, and snippets.

@minimaldesign
Forked from lucasfais/gist:1207002
Created November 18, 2012 14:45
Show Gist options
  • Save minimaldesign/4105633 to your computer and use it in GitHub Desktop.
Save minimaldesign/4105633 to your computer and use it in GitHub Desktop.

Revisions

  1. minimaldesign revised this gist Dec 12, 2012. No changes.
  2. minimaldesign revised this gist Nov 19, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ST2 Shortcuts.textile
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,7 @@ h2. Editing
    | *⌘ /* | comment |
    | *⌘⌥ /* | block comment |
    | *⌘Y* | redo or repeat |
    | *⌘⇧V* | past + ident |
    | *⌘⇧V* | paste and indent |
    | *⌃ space* | autocomplete (repeat to select next suggestion) |
    | *⌃M* | jump to matching brackets |
    | *⌘U* | soft undo (movement undo) |
  3. minimaldesign revised this gist Nov 19, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion ST2 Shortcuts.textile
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,7 @@ h2. Editing
    | *⌘ /* | comment |
    | *⌘⌥ /* | block comment |
    | *⌘Y* | redo or repeat |
    | *⌘⇧V* | past and ident |
    | *⌘⇧V* | past + ident |
    | *⌃ space* | autocomplete (repeat to select next suggestion) |
    | *⌃M* | jump to matching brackets |
    | *⌘U* | soft undo (movement undo) |
  4. minimaldesign revised this gist Nov 19, 2012. No changes.
  5. minimaldesign renamed this gist Nov 19, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  6. minimaldesign renamed this gist Nov 19, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  7. minimaldesign renamed this gist Nov 18, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  8. minimaldesign renamed this gist Nov 18, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  9. minimaldesign renamed this gist Nov 18, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  10. minimaldesign renamed this gist Nov 18, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.textile → gistfile1
    Original file line number Diff line number Diff line change
    @@ -38,6 +38,7 @@ h2. Editing
    h2. XML/HTML

    | *⌘⇧A* | select content into tag |
    | *⌃⇧W* | wrap selection into tags |
    | *⌘⌥ .* | close tag |

    h2. Find/Replace
  11. minimaldesign renamed this gist Nov 18, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  12. minimaldesign renamed this gist Nov 18, 2012. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.textile → gistfile1
    Original file line number Diff line number Diff line change
    @@ -15,7 +15,7 @@ h2. Editing

    | *⌘L* | select line (repeat select next lines) |
    | *⌘D* | select word (repeat select others occurrences in context for multiple editing) |
    | *⌘D ⌘K* | don't select (skip) that occurrence (multiple cursor editing)
    | *⌘D ⌘K* | don't select (skip) that occurrence (multiple cursor editing) |
    | *⌃⇧M* | select content into brackets |
    | *⌘⇧↩* | insert line before |
    | *⌘↩* | inter line after |
  13. minimaldesign renamed this gist Nov 18, 2012. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  14. minimaldesign revised this gist Nov 18, 2012. No changes.
  15. minimaldesign revised this gist Nov 18, 2012. No changes.
  16. minimaldesign renamed this gist Nov 18, 2012. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions gistfile1.textile → gistfile1
    Original file line number Diff line number Diff line change
    @@ -15,6 +15,7 @@ h2. Editing

    | *⌘L* | select line (repeat select next lines) |
    | *⌘D* | select word (repeat select others occurrences in context for multiple editing) |
    | *⌘D ⌘K* | don't select (skip) that occurrence (multiple cursor editing)
    | *⌃⇧M* | select content into brackets |
    | *⌘⇧↩* | insert line before |
    | *⌘↩* | inter line after |
  17. @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

  18. @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

  19. @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 |

  20. @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
  21. @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 |

  22. @lucasfais lucasfais revised this gist Sep 10, 2011. 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
    @@ -23,8 +23,8 @@ h2. Editing
    | *⌘J* | join lines |
    | *⌘KU* | upper case |
    | *⌘KL* | lower case |
    | *⌘/* | comment |
    | *⌘⌥/* | block comment |
    | *⌘ /* | comment |
    | *⌘⌥ /* | block comment |
    | *⌘Y* | redo or repeat |
    | *⌘⇧Z* | past and ident |
    | *⌃ space* | autocomplete (repeat to select next suggestion) |
  23. @lucasfais lucasfais revised this gist Sep 10, 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
    @@ -7,7 +7,7 @@ h2. Open/Goto
    | *⌘R* | go to methods |
    | *⌘⇧P* | command prompt |
    | *⌃G* | go to line |
    | *⌃ `* | Python console |
    | *⌃ `* | python console |

    h2. Editing

  24. @lucasfais lucasfais revised this gist Sep 10, 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
    @@ -7,7 +7,7 @@ h2. Open/Goto
    | *⌘R* | go to methods |
    | *⌘⇧P* | command prompt |
    | *⌃G* | go to line |
    | *⌃`* | Python console |
    | *⌃ `* | Python console |

    h2. Editing

  25. @lucasfais lucasfais revised this gist Sep 10, 2011. 2 changed files with 67 additions and 62 deletions.
    67 changes: 67 additions & 0 deletions gistfile1.textile
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,67 @@
    h1. Sublime Text 2 - Useful Shortcuts (Mac OS X)

    h2. Open/Goto

    | *⌘T* | go to file |
    | *⌘⌃P* | go to project |
    | *⌘R* | go to methods |
    | *⌘⇧P* | command prompt |
    | *⌃G* | go to line |
    | *⌃`* | Python console |

    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 |
    | *⌘⇧Z* | past and ident |
    | *⌃ space* | autocomplete (repeat to select next suggestion) |
    | *⌃M* | jump to matching brackets |

    h2. XML/HTML

    | *⌘⇧A* | select content into tag |
    | *⌘⌥ .* | close tag |

    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 |

    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 |

    h2. Bookmarks

    | *⌘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 |
    62 changes: 0 additions & 62 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,62 +0,0 @@
    # Sublime Text 2 - Useful Shortcuts #

    *Tested in Mac OS X: super == command*

    ## Open/Goto ##
    - super+t: go to file
    - super+ctrl+p: go to project
    - super+r: go to methods
    - super+shift+p: command prompt
    - ctrl+g: go to line
    - ctrl+`: Python console

    ## Editing ##
    - super+l: select line (repeat select next lines)
    - super+d: select word (repeat select others occurrences in context for multiple editing)
    - ctrl+shift+m: select content into brackets
    - super+shift+enter: insert line before
    - super+enter: inter line after
    - ctrl+shift+k: delete line
    - super+k-k: delete from cursor to end of line
    - super+k-backspace: delete from cursor to start of line
    - super+shift+d: duplicate line(s)
    - super+j: join lines
    - super+k-u: upper case
    - super+k-l: lower case
    - super+/: comment
    - super+alt+/: block comment
    - super+y: redo or repeat
    - super+shift+z: past and ident
    - ctrl+space: autocomplete (repeat to select next suggestion)
    - ctrl+m: jump to matching brackets

    ## XML/HTML ##
    - super+shift+a: select content into tag
    - super+alt+.: close tag

    ## Find/Replace ##
    - super+f: find
    - super+alt+f: replace
    - super+alt+g: find next occurrence of current word
    - super+ctrl+g: select all occurrences of current word for multiple editing
    - super+shift+f: find in files

    ## Splits/Tabs ##
    - super+alt+1: Single column
    - super+alt+2: Two columns
    - super+alt+5: Grid (4 groups)
    - ctrl+[1,2,3,4]: Focus group
    - ctrl+shift[1,2,3,4]: Move file to group
    - super+[1,2,3...] Select tab

    ## Bookmarks ##
    - super+f2: Toggle bookmark
    - f2: next bookmark
    - shift+f2: previous bookmark
    - super+shift+f2: clear bookmarks

    ## Marks ##
    - super+k-space: set mark // super+k-; for me
    - super+k-w: delete from cursor to mark
    - super+k-a: select from cursor to mark
    - super+k-g: clear mark
  26. @lucasfais lucasfais revised this gist Sep 9, 2011. 1 changed file with 9 additions and 17 deletions.
    26 changes: 9 additions & 17 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,19 +1,16 @@
    Sublime Text 2 - Useful Shortcuts
    =================================
    # Sublime Text 2 - Useful Shortcuts #

    *Tested in Mac OS X: super == command*

    Open/Goto
    _________
    ## Open/Goto ##
    - super+t: go to file
    - super+ctrl+p: go to project
    - super+r: go to methods
    - super+shift+p: command prompt
    - ctrl+g: go to line
    - ctrl+`: Python console

    Editing
    _______
    ## Editing ##
    - super+l: select line (repeat select next lines)
    - super+d: select word (repeat select others occurrences in context for multiple editing)
    - ctrl+shift+m: select content into brackets
    @@ -33,38 +30,33 @@ _______
    - ctrl+space: autocomplete (repeat to select next suggestion)
    - ctrl+m: jump to matching brackets

    XML/HTML
    ________
    ## XML/HTML ##
    - super+shift+a: select content into tag
    - super+alt+.: close tag

    Find/Replace
    ____________
    ## Find/Replace ##
    - super+f: find
    - super+alt+f: replace
    - super+alt+g: find next occurrence of current word
    - super+ctrl+g: select all occurrences of current word for multiple editing
    - super+shift+f: find in files

    Splits/Tabs
    ___________
    ## Splits/Tabs ##
    - super+alt+1: Single column
    - super+alt+2: Two columns
    - super+alt+5: Grid (4 groups)
    - ctrl+[1,2,3,4]: Focus group
    - ctrl+shift[1,2,3,4]: Move file to group
    - super+[1,2,3...] Select tab

    Bookmarks
    _________
    ## Bookmarks ##
    - super+f2: Toggle bookmark
    - f2: next bookmark
    - shift+f2: previous bookmark
    - super+shift+f2: clear bookmarks

    Marks
    _____
    ## Marks ##
    - super+k-space: set mark // super+k-; for me
    - super+k-w: delete from cursor to mark
    - super+k-a: select from cursor to mark
    - super+k-g: clear mark
    - super+k-g: clear mark
  27. @lucasfais lucasfais renamed this gist Sep 9, 2011. 1 changed file with 0 additions and 0 deletions.
  28. @lucasfais lucasfais revised this gist Sep 9, 2011. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts
    Original file line number Diff line number Diff line change
    @@ -67,4 +67,4 @@ _____
    - super+k-space: set mark // super+k-; for me
    - super+k-w: delete from cursor to mark
    - super+k-a: select from cursor to mark
    - super+k-g: clear mark
    - super+k-g: clear mark
  29. @invalid-email-address Anonymous created this gist Sep 9, 2011.
    70 changes: 70 additions & 0 deletions sublime_text_2_useful_shortcuts
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,70 @@
    Sublime Text 2 - Useful Shortcuts
    =================================

    *Tested in Mac OS X: super == command*

    Open/Goto
    _________
    - super+t: go to file
    - super+ctrl+p: go to project
    - super+r: go to methods
    - super+shift+p: command prompt
    - ctrl+g: go to line
    - ctrl+`: Python console

    Editing
    _______
    - super+l: select line (repeat select next lines)
    - super+d: select word (repeat select others occurrences in context for multiple editing)
    - ctrl+shift+m: select content into brackets
    - super+shift+enter: insert line before
    - super+enter: inter line after
    - ctrl+shift+k: delete line
    - super+k-k: delete from cursor to end of line
    - super+k-backspace: delete from cursor to start of line
    - super+shift+d: duplicate line(s)
    - super+j: join lines
    - super+k-u: upper case
    - super+k-l: lower case
    - super+/: comment
    - super+alt+/: block comment
    - super+y: redo or repeat
    - super+shift+z: past and ident
    - ctrl+space: autocomplete (repeat to select next suggestion)
    - ctrl+m: jump to matching brackets

    XML/HTML
    ________
    - super+shift+a: select content into tag
    - super+alt+.: close tag

    Find/Replace
    ____________
    - super+f: find
    - super+alt+f: replace
    - super+alt+g: find next occurrence of current word
    - super+ctrl+g: select all occurrences of current word for multiple editing
    - super+shift+f: find in files

    Splits/Tabs
    ___________
    - super+alt+1: Single column
    - super+alt+2: Two columns
    - super+alt+5: Grid (4 groups)
    - ctrl+[1,2,3,4]: Focus group
    - ctrl+shift[1,2,3,4]: Move file to group
    - super+[1,2,3...] Select tab

    Bookmarks
    _________
    - super+f2: Toggle bookmark
    - f2: next bookmark
    - shift+f2: previous bookmark
    - super+shift+f2: clear bookmarks

    Marks
    _____
    - super+k-space: set mark // super+k-; for me
    - super+k-w: delete from cursor to mark
    - super+k-a: select from cursor to mark
    - super+k-g: clear mark