DEV Community

Indigo Norrbottenspets
Indigo Norrbottenspets

Posted on

Sublime Text: Editing

Shortcut Action
Ctrl X Cut line
Ctrl Enter Insert line after
Ctrl Shift Enter 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 selects other occurrences
Ctrl M Jump to closing parentheses - Repeat to jump to opening parentheses
Ctrl Shift M Select all contents of the current parentheses
Ctrl Shift K Delete line
Ctrl K, K Delete from cursor to end of line
Ctrl K Backspace 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 / 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; jumps to your last change before undoing, change when repeated
Alt Shift W Wrap selection in HTML tag
Alt . Close current HTML tag
Alt Q Hard wrap line to ruler column setting

Useful links

Top comments (0)