Guest User

Untitled

a guest
Oct 15th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. h1. Sublime Text 2 - Useful Shortcuts (Mac OS X)
  2.  
  3. h2. General
  4.  
  5. | *⌘T* | go to file |
  6. | *⌘⌃P* | go to project |
  7. | *⌘R* | go to methods |
  8. | *⌃G* | go to line |
  9. | *⌘KB* | toggle side bar |
  10. | *⌘⇧P* | command prompt |
  11. | *⌃ `* | python console |
  12. | *⌘⇧N* | new window (useful for new project) |
  13.  
  14. h2. Editing
  15.  
  16. | *⌘L* | select line (repeat select next lines) |
  17. | *⌘D* | select word (repeat select others occurrences in context for multiple editing) |
  18. | *⌃⇧M* | select content into brackets |
  19. | *⌘⇧↩* | insert line before |
  20. | *⌘↩* | inter line after |
  21. | *⌃⇧K* | delete line |
  22. | *⌘KK* | delete from cursor to end of line |
  23. | *⌘K⌫* | delete from cursor to start of line |
  24. | *⌘⇧D* | duplicate line(s) |
  25. | *⌘J* | join lines |
  26. | *⌃⌘↑* | move selected line up |
  27. | *⌃⌘↓* | move selected line down |
  28. | *⌘KU* | upper case |
  29. | *⌘KL* | lower case |
  30. | *⌘Y* | redo or repeat |
  31. | *⌘⇧V* | past and ident |
  32. | *⌃ space* | autocomplete (repeat to select next suggestion) |
  33. | *⌃M* | jump to matching brackets |
  34. | *⌘U* | soft undo (movement undo) |
  35. | *⌘⇧U* | soft redo (movement redo) |
  36.  
  37. h2. Indentation
  38.  
  39. | *⌘ /* | comment |
  40. | *⌘⌥ /* | block comment |
  41. | *⌘ ]* | indent |
  42. | *⌘ [* | unindent |
  43.  
  44. h2. XML/HTML
  45.  
  46. | *⌘⇧A* | select content into tag |
  47. | *⌘⌥ .* | close tag |
  48.  
  49. h2. Find/Replace
  50.  
  51. | *⌘F* | find |
  52. | *⌘⌥F* | replace |
  53. | *⌘⌥G* | find next occurrence of current word |
  54. | *⌘⌃G* | select all occurrences of current word for multiple editing |
  55. | *⌘⇧F* | find in files |
  56.  
  57. h2. Splits/Tabs
  58.  
  59. | *⌘⌥1* | single column |
  60. | *⌘⌥2* | two columns |
  61. | *⌘⌥5* | grid (4 groups) |
  62. | *⌃[1,2,3,4]* | focus group |
  63. | *⌃⇧[1,2,3,4]* | move file to group |
  64. | *⌘[1,2,3...]* | select tab |
  65.  
  66. h2. Bookmarks
  67.  
  68. | *⌘F2* | toggle bookmark |
  69. | *F2* | next bookmark |
  70. | *⇧F2* | previous bookmark |
  71. | *⌘⇧F2* | clear bookmarks |
  72.  
  73. h2. Marks
  74.  
  75. | *⌘K space* | set mark // ⌘K; for me |
  76. | *⌘KW* | delete from cursor to mark |
  77. | *⌘KA* | select from cursor to mark |
  78. | *⌘KG* | clear mark |
Add Comment
Please, Sign In to add comment