Guest User

Untitled

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