Sublime Text: Difference between revisions

From HaFrWiki42
Jump to navigation Jump to search
Line 7: Line 7:
* [http://docs.sublimetext.info/en/latest/reference/keyboard_shortcuts_osx.html?highlight=shortcuts Docs Sublime Text Info], Keyboard Shortcuts for OSX.
* [http://docs.sublimetext.info/en/latest/reference/keyboard_shortcuts_osx.html?highlight=shortcuts Docs Sublime Text Info], Keyboard Shortcuts for OSX.


{| class="wikitableharm"   
{| class="wikitableharm"  width="1500"
|-
! width="600" style="vertical-align:top;" | Editing
! width="010" style="vertical-align:top;" |  
! width="600" style="vertical-align:top;" | Navigation
|- style="vertical-align:top;"  
|- style="vertical-align:top;"  
|  
|  
{| class="wikitableharm sortable"  
{| class="wikitableharm sortable"  
|-
! colspan="2" style="text-align:center;" | Editing
|-
|-
! width="080" | Keypress
! width="080" | Keypress
! width="420" | Command
! width="410" | Command
|-  
|-  
| ⌘ + X || Cut line
| ⌘ + X || Cut line
Line 82: Line 80:
|
|
{| class="wikitableharm sortable"  
{| class="wikitableharm sortable"  
|-
! colspan="2" style="text-align:center;" | Navigation / Goto anywhere
|-
|-
! width="080" | Keypress
! width="080" | Keypress
! width="420" | Command
! width="410" | Command
|-
|-
| ⌘ + G || Goto line in current file  
| ⌘ + G || Goto line in current file  
Line 92: Line 92:
| ⌘ + R || Goto symbol / function / method
| ⌘ + R || Goto symbol / function / method
|}
|}
 
{| class="wikitableharm sortable"
|-
! colspan="2" style="text-align:center;" | General
|-
! width="080" | Keypress
! width="410" | Command
|-
| ⌘ + ⇧ + P || Command Palette
|-
| ⌃ + ` || Python Console
|-
| ⌃ + ⌘ + F || Toggle fullscreen mode
|-
| ⌃ + ⇧ + ⌘ + F || Toggle distraction free mode
|-
| ⌘ + K, ⌘ + B || Toggle side bar
|-
| ⌃ + ⇧ + P || Show scope in status bar
|}
 
{| class="wikitableharm sortable"
|-
! colspan="2" style="text-align:center;" | Find / Replace
|-
! width="080" | Keypress
! width="410" | Command
|-
| ⌘ + F || Find in file
|-
| ⌘ + ⌥ + F || Replace in file
|-
| ⌘ + ⇧ + F || Find in files
|}
 
{| class="wikitableharm sortable"
|-
! colspan="2" style="text-align:center;"| Tabs
|-
! width="080" | Keypress
! width="410" | Command
|-
| ⌘ + ⇧ + T || Open last closed tab
|-
| ⌘ + [NUM] || Jump to tab in current group where num is 1-9
|-
| ⌘ + 0 || Jump to 10th tab in current group
|-
| ⌘ + ⇧ + [ || Cycle left through tabs
|-
| ⌘ + ⇧ + ] || Cycle right through tabs
|-
| ^ + Tab || Cycle up through recent tabs
|-
| ⇧ + ^ + Tab || Cycle down through recent tabs
|}
|  
|
{| class="wikitableharm sortable"
|-
! colspan="2" style="text-align:center;" | Split Window
|-
! width="080" | Keypress
! width="410" | Command
|-
| ⌘ + ⌥ + 1 || Revert view to single column
|-
| ⌘ + ⌥ + 2 || Split view into two columns
|-
| ⌘ + ⌥ + 3 || Split view into three columns
|-
| ⌘ + ⌥ + 4 || Split view into four columns
|-
| ⌘ + ⌥ + 5 || Set view to grid (4 groups)
|-
| ⌃ + [NUM] || Jump to group where num is 1-4
|-
| ⌃ + ⇧ + [NUM] || Move file to specified group where num is 1-4
|}
 
{| class="wikitableharm sortable"
|-
! colspan="2" style="text-align:center;" | Bookmarks
|-
! width="080" | Keypress
! width="410" | Command
|-
| ⌘ + F2 || Toggle bookmark
|-
| F2 || Next bookmark
|-
| ⇧ + F2 || Previous bookmark
|-
| ⇧ + ⌘ + F2 || Clear bookmarks
|}
 
{| class="wikitableharm sortable"
|-
! colspan="2" style="text-align:center;" | Text manipulation
|-
! width="080" | Keypress
! width="410" | Command
|-
| ⌘ + K, ⌘ + U || Transform to Uppercase
|-
| ⌘ + K, ⌘ + L || Transform to Lowercase
|-
| ⌘ + ⌃ + up || Clip text upwards / downwards
|-
| ⌘ + ⌃ + down  || Clip text downwards
|}
 
|}
|}



Revision as of 20:00, 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

The keyboard shortcuts for OSX are base on the Websites:

Editing
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
 
Navigation / Goto anywhere
Keypress Command
⌘ + G Goto line in current file
⌘ + P
⌘ + T
Quick-open files by name
⌘ + R Goto symbol / function / method

 

General
Keypress Command
⌘ + ⇧ + P Command Palette
⌃ + ` Python Console
⌃ + ⌘ + F Toggle fullscreen mode
⌃ + ⇧ + ⌘ + F Toggle distraction free mode
⌘ + K, ⌘ + B Toggle side bar
⌃ + ⇧ + P Show scope in status bar

 

Find / Replace
Keypress Command
⌘ + F Find in file
⌘ + ⌥ + F Replace in file
⌘ + ⇧ + F Find in files

 

Tabs
Keypress Command
⌘ + ⇧ + T Open last closed tab
⌘ + [NUM] Jump to tab in current group where num is 1-9
⌘ + 0 Jump to 10th tab in current group
⌘ + ⇧ + [ Cycle left through tabs
⌘ + ⇧ + ] Cycle right through tabs
^ + Tab Cycle up through recent tabs
⇧ + ^ + Tab Cycle down through recent tabs
 
Split Window
Keypress Command
⌘ + ⌥ + 1 Revert view to single column
⌘ + ⌥ + 2 Split view into two columns
⌘ + ⌥ + 3 Split view into three columns
⌘ + ⌥ + 4 Split view into four columns
⌘ + ⌥ + 5 Set view to grid (4 groups)
⌃ + [NUM] Jump to group where num is 1-4
⌃ + ⇧ + [NUM] Move file to specified group where num is 1-4

 

Bookmarks
Keypress Command
⌘ + F2 Toggle bookmark
F2 Next bookmark
⇧ + F2 Previous bookmark
⇧ + ⌘ + F2 Clear bookmarks

 

Text manipulation
Keypress Command
⌘ + K, ⌘ + U Transform to Uppercase
⌘ + K, ⌘ + L Transform to Lowercase
⌘ + ⌃ + up Clip text upwards / downwards
⌘ + ⌃ + down Clip text downwards

 

See also

top

Reference

top