Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jongud/6ed854a5934d8cde81f7 to your computer and use it in GitHub Desktop.
Save jongud/6ed854a5934d8cde81f7 to your computer and use it in GitHub Desktop.

Revisions

  1. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    Sublime Text 2 Useful Shortcuts
    =================================

    *Tested in Mac OS X| ``super`` == command* ⌘
    *Tested in Mac OS X| ``super`` == command (⌘)*

    ### Open/Goto
    | Shortcut | Action |
  2. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,7 +1,7 @@
    Sublime Text 2 Useful Shortcuts
    =================================

    *Tested in Mac OS X| ``super`` == command*
    *Tested in Mac OS X| ``super`` == command* ⌘

    ### Open/Goto
    | Shortcut | Action |
  3. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -23,7 +23,7 @@ Sublime Text 2 Useful Shortcuts
    ``super``+``enter``| inter line after
    ``ctrl``+``shift``+k| delete line
    ``super``+k-k| delete from cursor to end of line
    ``super``+k-``back``space````| delete from cursor to start 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
  4. jongud revised this gist May 27, 2014. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -63,10 +63,10 @@ Sublime Text 2 Useful Shortcuts
    ### Bookmarks
    | Shortcut | Action |
    | ------------|-------------|
    ``super``+f2| Toggle bookmark
    f2| next bookmark
    ``shift``+f2| previous bookmark
    ``super``+``shift``+f2| clear bookmarks
    ``super``+``F2``| Toggle bookmark
    ``F2``| next bookmark
    ``shift``+``F2``| previous bookmark
    ``super``+``shift``+``F2``| clear bookmarks

    ### Marks
    | Shortcut | Action |
  5. jongud revised this gist May 27, 2014. 1 changed file with 44 additions and 44 deletions.
    88 changes: 44 additions & 44 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,77 +1,77 @@
    Sublime Text 2 Useful Shortcuts
    =================================

    *Tested in Mac OS X| super == command*
    *Tested in Mac OS X| ``super`` == command*

    ### Open/Goto
    | Shortcut | Action |
    | ------------|-------------|
    ``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
    ``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
    | Shortcut | Action |
    | ------------|-------------|
    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| paste and indent
    ctrl+space| autocomplete (repeat to select next suggestion)
    ctrl+m| jump to matching brackets
    ``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-``back``space````| 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| paste and indent
    ``ctrl``+``space``| autocomplete (repeat to select next suggestion)
    ``ctrl``+m| jump to matching brackets

    ### XML/HTML
    | Shortcut | Action |
    | ------------|-------------|
    super+shift+a| select content into tag
    super+alt+.| close tag
    ``super``+``shift``+a| select content into tag
    ``super``+``alt``+.| close tag

    ### Find/Replace
    | Shortcut | Action |
    | ------------|-------------|
    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
    ``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
    | Shortcut | Action |
    | ------------|-------------|
    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
    ``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
    | Shortcut | Action |
    | ------------|-------------|
    super+f2| Toggle bookmark
    ``super``+f2| Toggle bookmark
    f2| next bookmark
    shift+f2| previous bookmark
    super+shift+f2| clear bookmarks
    ``shift``+f2| previous bookmark
    ``super``+``shift``+f2| clear bookmarks

    ### Marks
    | Shortcut | Action |
    | ------------|-------------|
    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-``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
  6. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Sublime Text 2 Useful Shortcuts
    ### Open/Goto
    | Shortcut | Action |
    | ------------|-------------|
    ´´super´´+t| go to file
    ``super``+t| go to file
    super+ctrl+p| go to project
    super+r| go to methods
    super+shift+p| command prompt
  7. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ Sublime Text 2 Useful Shortcuts
    ### Open/Goto
    | Shortcut | Action |
    | ------------|-------------|
    super+t| go to file
    ´´super´´+t| go to file
    super+ctrl+p| go to project
    super+r| go to methods
    super+shift+p| command prompt
  8. jongud revised this gist May 27, 2014. 1 changed file with 54 additions and 42 deletions.
    96 changes: 54 additions & 42 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    Sublime Text 2 - Useful Shortcuts
    Sublime Text 2 Useful Shortcuts
    =================================

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

    ### Open/Goto
    | Shortcut | Action |
    | ------------- |-------------|
    | ------------|-------------|
    super+t| go to file
    super+ctrl+p| go to project
    super+r| go to methods
    @@ -14,52 +14,64 @@ 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: paste and indent
    - ctrl+space: autocomplete (repeat to select next suggestion)
    - ctrl+m: jump to matching brackets
    | Shortcut | Action |
    | ------------|-------------|
    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| paste and indent
    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
    | Shortcut | Action |
    | ------------|-------------|
    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
    | Shortcut | Action |
    | ------------|-------------|
    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
    | Shortcut | Action |
    | ------------|-------------|
    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
    | Shortcut | Action |
    | ------------|-------------|
    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
    | Shortcut | Action |
    | ------------|-------------|
    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
  9. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,7 @@ Sublime Text 2 - Useful Shortcuts

    ### Open/Goto
    | Shortcut | Action |
    | ------------- |-------------|
    super+t| go to file
    super+ctrl+p| go to project
    super+r| go to methods
  10. jongud revised this gist May 27, 2014. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,6 @@ Sublime Text 2 - Useful Shortcuts

    ### Open/Goto
    | Shortcut | Action |
    | ------------- |-------------|
    super+t| go to file
    super+ctrl+p| go to project
    super+r| go to methods
  11. jongud revised this gist May 27, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -4,8 +4,8 @@ Sublime Text 2 - Useful Shortcuts
    *Tested in Mac OS X: super == command*

    ### Open/Goto
    | Shortcut | Action |
    | ------------- |-------------:|
    | Shortcut | Action |
    | ------------- |-------------|
    super+t| go to file
    super+ctrl+p| go to project
    super+r| go to methods
  12. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -5,7 +5,7 @@ Sublime Text 2 - Useful Shortcuts

    ### Open/Goto
    | Shortcut | Action |
    | ------------- |:-------------:|
    | ------------- |-------------:|
    super+t| go to file
    super+ctrl+p| go to project
    super+r| go to methods
  13. jongud revised this gist May 27, 2014. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -7,11 +7,11 @@ Sublime Text 2 - Useful Shortcuts
    | Shortcut | Action |
    | ------------- |:-------------:|
    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
    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)
  14. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Sublime Text 2 - Useful Shortcuts
    *Tested in Mac OS X: super == command*

    ### Open/Goto

    | Shortcut | Action |
    | ------------- |:-------------:|
    super+t| go to file
    - super+ctrl+p: go to project
  15. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Sublime Text 2 - Useful Shortcuts
    *Tested in Mac OS X: super == command*

    ### Open/Goto
    | Tables | Are |

    | ------------- |:-------------:|
    super+t| go to file
    - super+ctrl+p: go to project
  16. jongud revised this gist May 27, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,8 @@ Sublime Text 2 - Useful Shortcuts
    *Tested in Mac OS X: super == command*

    ### Open/Goto
    | Tables | Are |
    | ------------- |:-------------:|
    super+t| go to file
    - super+ctrl+p: go to project
    - super+r: go to methods
  17. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ Sublime Text 2 - Useful Shortcuts
    *Tested in Mac OS X: super == command*

    ### Open/Goto
    - super+t: go to file
    super+t| go to file
    - super+ctrl+p: go to project
    - super+r: go to methods
    - super+shift+p: command prompt
  18. jongud revised this gist May 27, 2014. 1 changed file with 5 additions and 10 deletions.
    15 changes: 5 additions & 10 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -31,37 +31,32 @@ Sublime Text 2 - Useful Shortcuts
    - 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
  19. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 3 deletions.
    4 changes: 1 addition & 3 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -4,16 +4,14 @@ 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
    _______
    ### 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
  20. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@ 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
  21. jongud revised this gist May 27, 2014. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -3,8 +3,8 @@ 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
  22. jongud revised this gist May 27, 2014. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion sublime_text_2_useful_shortcuts.md
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,7 @@ _______
    - super+/: comment
    - super+alt+/: block comment
    - super+y: redo or repeat
    - super+shift+z: past and ident
    - super+shift+z: paste and indent
    - ctrl+space: autocomplete (repeat to select next suggestion)
    - ctrl+m: jump to matching brackets

  23. @nuxlli nuxlli renamed this gist Sep 9, 2011. 1 changed file with 0 additions and 0 deletions.
  24. @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
  25. @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