Skip to content

Latest commit

 

History

History
163 lines (131 loc) · 4.37 KB

README.md

File metadata and controls

163 lines (131 loc) · 4.37 KB

Sublime Text

Sublime Text

  1. Defaults
  2. Plugins
  3. Customs

Defaults

Text Editing

Command Description
ctrl+X Cut line
ctrl+↵ Insert line after
ctrl+shift+↵ Insert line before
ctrl+shift+UP Move line/selection up
ctrl+shift+DOWN Move line/selection down
ctrl+L Select line - Repeat to select next lines
ctrl+D Select word - repeat select other occurrences
ctrl+M Go to matching parentheses
ctrl+shift+M Select all contents of the current parentheses
ctrl+Kctrl+K Delete from cursor to end of line
ctrl+KBACKSPACE Delete from cursor to start of line
ctrl+] Indent current line(s)
ctrl+[ Un-indent current line(s)
ctrl+shift+D Duplicate line(s)
ctrl+J Join line below to the end of the current line
ctrl+/ Z Comment/un-comment current line
ctrl+shift+/ Block comment current selection
ctrl+Y Redo or repeat last keyboard shortcut command
ctrl+shift+V Paste and indent correctly
ctrl+[SPACE] Select next auto-complete suggestion
ctrl+U Soft undo

Text Navigation/Goto Anywhere

Command Description
ctrl+P Quick-open files by name
ctrl+; Goto word in current file
ctrl+R Goto symbol
ctrl+G Goto line in current file

General

Command Description
alt+. Close tag
ctrl+Kctrl+C Scroll to selection
ctrl+shift+A Select tag
ctrl+shift+J Select indentation
ctrl+shift+[SPACE] Select scope
ctrl+Kctrl+B Toggle side bar
ctrl+shift+P Command prompt

Find/Replace

Command Description
shift+F3 Find previous
F3 Find next
ctrl+F Find
ctrl+H Replace
ctrl+shift+F Find in files

Split Window

Command Description
shift+alt+2 Split view into two columns
shift+alt+1 Revert view to single column
shift+alt+5 Set view to grid (4 groups)
ctrl+2 Jump to group 2
ctrl+shift+2 Move file to group 2

Text Manipulation

Command Description
ctrl+Kctrl+L Transform to lowercase
ctrl+Kctrl+U Transform to uppercase
ctrl+shift+K Delete line
ctrl+BACKSPACE Delete word backwords
ctrl+DEL Delete word forwards

Text Selection

Command Description
alt+ctrl+DOWN Add new line below with cursor
alt+ctrl+UP Add new line above with cursor
ctrl+Kctrl+D Skip selection
ctrl+shift+L Split selection into lines
alt+F3 Add cursor at all occurrences of a word
ESC Return to single selection

Code Folding and Marks

Command Description
ctrl+Kctrl+G Clear mark
ctrl+Kctrl+X Switch location with mark
ctrl+Kctrl+A Select to mark
ctrl+Kctrl+[SPACE] Set mark
ctrl+Kctrl+J Unfold all
ctrl+shift+[ Fold code
ctrl+shift+] Unfold code

Bookmarks

Command Description
alt+F2 Select all bookmarks
shift+F2 Previous bookmark
F2 Next bookmark
ctrl+F2 Toggle bookmark

Side Bar

Command Description
ctrl+0 Focus on side bar
Open file / focus on editor
UP/DOWN Navigate through directories
RIGHT Expand directory
LEFT Collapse directory

Plugins

Terminal

Command Description
ctrl+shift+alt+t Open terminal project folder

Customs

Command Description
f12 Reindent
ctrl+shift+alt+r Reveal in side bar

← Back