Sublime Text: Difference between revisions

From HaFrWiki42
Jump to navigation Jump to search
Line 4: Line 4:


== Keyboard shortcuts ==
== Keyboard shortcuts ==
{| class="wikitableharm" 
|-
! width="600" style="vertical-align:top;" | Editing
! width="010" style="vertical-align:top;" |  
! width="600" style="vertical-align:top;" | Navigation
|- style="vertical-align:top;"
|
{| class="wikitableharm sortable"  
{| class="wikitableharm sortable"  
|-
|-
! width="070" | Keypress
! width="080" | Keypress
! width="380" | Command
! width="420" | Command
|-  
|-  
| ⌘ + X || Cut line
| ⌘ + X || Cut line
Line 40: Line 47:
|-
|-
| ⌘ + K + ⌫ || Delete from cursor to start of line
| ⌘ + K + ⌫ || Delete from cursor to start of line
|-
| ⌘ + ] || Indent current (selected) line(s)
|-
| ⌘ + [ || Un-Indent current (selected) line(s)
|-
| ⌘ + ⇧ + D || Duplicate line(s)
|-
| ⌘ + J || Join line below to the end of the current line
|-
| ⌘ + / || Comment/un-comment current line
|-
| ⌘ + ⌥ + / || Block comment current selection
|-
| ⌘ + Y || Redo, or repeat last keyboard shortcut command
|-
| ⌘ + ⇧ + V || Paste and indent correctly
|-
| ⌃ + Space || Select next auto-complete suggestion
|-
| ⌃ + U || Soft undo; jumps to your last change before undoing change when repeated
|-
| ⌃ + ⇧ + Up || Column selection up
|-
| ⌃ + ⇧ + Down || Column selection down
|-
| ⌃ + ⇧ + W || Wrap Selection in html tag
|-
| ⌃ + ⇧ + K || Delete current line of cursor
|}
|  
|
{| class="wikitableharm sortable"
|-
! width="080" | Keypress
! width="420" | Command
|-
| ⌘ + G || Goto line in current file
|-
| ⌘ + P <br>⌘ + T || Quick-open files by name
|-
| ⌘ + R || Goto symbol / function / method
|}
|}
|}



Revision as of 17:58, 22 August 2016

Sublime Text is a sophisticated text editor for code, markup and prose. You'll love the slick user interface, extraordinary features and amazing performance. First of all Sublime Text is multi-platform, so available for OS X, Windows and Linux.


Keyboard shortcuts

Editing   Navigation
Keypress Command
⌘ + X Cut line
⌘ + ↩ Insert line after
⌘ + ⇧ + ↩ Insert line before
⌘ + ⌃ + ↑ Move line / selection up
⌘ + ⌃ + ↓ Move line/selection down
⌘ + D Select word - Repeat to select next occurrence
⌘ + L Select line - Repeat to select next lines
⌃ + ⌘ + G Select all occurrence of the line above
⌃ + ⇧ + ↑ Extra cursor on the line above
⌃ + ⇧ + ↓ Extra cursor on the line below
⌃ + M Jump to closing parentheses Repeat to jump to opening parentheses
⌃ + ⇧ + M Select all contents of the current parentheses
⌃ + A
⌘ + Left
Move to beginning of line
⌃ + E
⌘ + Right
Move to end of line
⌘ + K, ⌘ + K Delete from cursor to end of line
⌘ + K + ⌫ Delete from cursor to start of line
⌘ + ] Indent current (selected) line(s)
⌘ + [ Un-Indent current (selected) line(s)
⌘ + ⇧ + D Duplicate line(s)
⌘ + J Join line below to the end of the current line
⌘ + / Comment/un-comment current line
⌘ + ⌥ + / Block comment current selection
⌘ + Y Redo, or repeat last keyboard shortcut command
⌘ + ⇧ + V Paste and indent correctly
⌃ + Space Select next auto-complete suggestion
⌃ + U Soft undo; jumps to your last change before undoing change when repeated
⌃ + ⇧ + Up Column selection up
⌃ + ⇧ + Down Column selection down
⌃ + ⇧ + W Wrap Selection in html tag
⌃ + ⇧ + K Delete current line of cursor
 
Keypress Command
⌘ + G Goto line in current file
⌘ + P
⌘ + T
Quick-open files by name
⌘ + R Goto symbol / function / method

See also

top

Reference

top