SUBLIME TEXT 3 CHEAT SHEET

来源:互联网 发布:access与sql的区别 编辑:程序博客网 时间:2024/05/16 23:53

      • Selection
      • Editing
      • Searching Replacing
      • Workspace Panes
      • Goto Anything

Selection

  • multiple cursors [ ⌘ + (click) ]
  • add more instances [ ⌘ + D ]
  • skip the current instance [ ⌘ + K ], [ ⌘ + D ]
  • deselect the current instance [ ⌘ + U ]
  • expand the selections to the end of the line [ ⌘ + L ]
  • split the selections into lines [ ⌘ + ⇧ + L ]
  • select subwords [ ⌥ + ⇧ + (arrow) ]
  • jump to closing parenthesis [ ⌃ + M ]
  • expand selection to brackets [ ⌃ + ⇧ + M ]
  • expand selection to indentation [ ⌘ + ⇧ + J ]

Editing

  • indent [ ⌘ + ] ]
  • unindent [ ⌘ + [ ]
  • swap line up [ ⌃ + ⌘ + ↑ ]
  • swap line down [ ⌃ + ⌘ + ↓ ]
  • duplicate line [ ⇧ + ⌘ + D ]
  • delete line [ ⌃ + ⇧ + K ] / [ ⌘ + X ]
  • delete to end [ ⌃ + K ]
  • delete to beginning [ ⌘ + ⌫ ]
  • join lines [ ⌘ + J ]
  • comment [ ⌘ + / ]
  • insert line before [ ⇧ + ⌘ + ⏎ ]
  • insert line after [ ⌘ + ⏎ ]
  • transpose [ ⌃ + T ]

Searching & Replacing

  • open search panel [ ⌘ + F ]
  • find next [ ⏎ ] / [ ⌘ + G ]
  • find previous [ ⇧ + ⏎ ] / [ ⇧ + ⌘ + G ]
  • find all [ ⌥ + ⏎ ]
  • quick find [ ⌥ + ⌘ + G ]
  • open find in files [ ⇧ + ⌘ + F ]
  • open replace panel [ ⌥ + ⌘ + F ]

Workspace Panes

  • single [ ⌥ + ⌘ + 1 ]
  • columns: 2 [ ⌥ + ⌘ + 2 ]
  • columns: 3 [ ⌥ + ⌘ + 3 ]
  • columns: 4 [ ⌥ + ⌘ + 4 ]
  • rows: 2 [ ⌥ + ⇧ + ⌘ + 2 ]
  • rows: 3 [ ⌥ + ⇧ + ⌘ + 3 ]
  • grid: 4 [ ⌥ + ⌘ + 5 ]

Goto Anything

  • open panel[ ⌘ + P ]
  • switch between files [ fuzzy search files ]
  • goto line [ :<# of line> ] / [ filename:<# of line> ] / [ ⌃ + G ]
  • goto definition [ @ (function) ] / [ ⌘ + R ]
0 0
原创粉丝点击