Sublime Text keyboard shortcuts

Sublime Text

Zeynel Abidin Öztürk -
15 months ago
- Shortcuts

There are quite useful shortcuts for Sublime Text. For example Ctrl + Shift + L splits the selection into multiple selections. You can than type in multiple lines.

Ctrl + X

Cut line

Ctrl + ⤶ Enter

Insert line after

Ctrl + ↑   Shift + ⤶ Enter

Insert line before

Ctrl + ↑   Shift +

Move line/selection up

Ctrl + ↑   Shift +

Move line/selection down

Ctrl + ↑   Shift + L

Split selection into lines

Ctrl + L

Select line - Repeat to select next lines

Ctrl + D

Select word - Repeat select others 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 then Ctrl + 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

Ctrl + K then Ctrl + D

Quick Skip Next

Alt + ↑   Shift + W

Wrap Selection in html tag

Alt + .

Close current html tag

Shortcuts below are valid for Windows only.
Ctrl + Alt +

Column selection up

Ctrl + Alt +

Column selection down

Shortcuts below are valid for Linux only.
Alt + ↑   Shift +

Column selection up

Alt + ↑   Shift +

Column selection down

Ctrl + P

Quick-open files by name

Ctrl + R

Goto symbol

Ctrl + ;

Goto word in current file

Ctrl + G

Goto line in current file

Ctrl + ↑   Shift + P

Command prompt

Ctrl + K then Ctrl + B

Toggle side bar

Ctrl + ↑   Shift + Alt + P

Show scope in status bar

Ctrl + F

Find

Ctrl + H

Replace

Ctrl + ↑   Shift + F

Find in files

Alt + F3

Add all occurrences of the current word to the selection

Esc

Go from multiple selections to a single selection

Ctrl + ↑   Shift + T

Open last closed tab

Ctrl + Page Up

Cycle up through tabs

Ctrl + Page Down

Cycle down through tabs

Ctrl + ⭾ Tab

Find in files

Ctrl + W

Close current tab

Alt + 1 - 9

Switch to a specific tab

Alt + ↑   Shift + 1

Revert view to single column

Alt + ↑   Shift + 2

Split view into two columns

Alt + ↑   Shift + 3

Split view into three columns

Alt + ↑   Shift + 4

Split view into four columns

Alt + ↑   Shift + 5

Set view to grid (4 groups)

Alt + ↑   Shift + 8

Split view into two rows

Ctrl + 1

... to 4: Jump to group 1-4

Ctrl + ↑   Shift + 1

… to 4: Move file to specified group between 1-4

Ctrl + F2

Toggle bookmark

F2

Next bookmark

↑   Shift + F2

Previous bookmark

Ctrl + ↑   Shift + F2

Clear bookmarks

Ctrl + K then Ctrl + U

Transform to Uppercase

Ctrl + K then Ctrl + L

Transform to Lowercase


Share this page on:

Program information

Program name: Sublime Text (Text editing)

Sublime Text is a code and text editor which supports many programming languages. It's interface is similar to Vim. While Sublime Text is not a free software, it's plugins are mostly free. These plugins are developed by community and can add new functionality to program.

Web page: https://www.sublimetext.com

Shortcut count: 62

Similar programs



Latest articles

Advertisement

  Subscribe to our mailing list!

Useful technology tips and keyboard shortcuts will appear in your inbox.

Your email is kept private and we don't spam.

What is your favorite Sublime Text hotkey? Do you have any useful tips for program? Let other users know below.