Sublime Text Keyboard Shortcuts

Sublime Text Keyboard Shortcuts for Windows

Editing

Cut line

  • Ctrl
  • +
  • X

Insert line after

  • Ctrl
  • +
  • Enter

Insert line before

  • Ctrl
  • +
  • Shift
  • +
  • Enter

Move line/selection up

  • Ctrl
  • +
  • Shift
  • +
  • Up

Move line/selection down

  • Ctrl
  • +
  • Shift
  • +
  • Down

Select line u2013 Repeat to select next lines

  • Ctrl
  • +
  • L

Select word u2013 Repeat selects other occurrences

  • Ctrl
  • +
  • D

Jump to closing parentheses u2013 Repeat to jump to opening parentheses

  • Ctrl
  • +
  • M

Select all contents of the current parentheses

  • Ctrl
  • +
  • Shift
  • +
  • M

Delete line

  • Ctrl
  • +
  • Shift
  • +
  • K

Delete from cursor to end of line

  • Ctrl
  • +
  • K, K

Delete from cursor to start of line

  • Ctrl
  • +
  • K
  • +
  • Backspace

Indent current line(s)

  • Ctrl
  • +
  • ]

Un-indent current line(s)

  • Ctrl
  • +
  • [

Duplicate line(s)

  • Ctrl
  • +
  • Shift
  • +
  • D

Join line below to the end of the current line

  • Ctrl
  • +
  • J

Comment/un-comment current line

  • Ctrl
  • +
  • /

Block comment current selection

  • Ctrl
  • +
  • Shift
  • +
  • /

Redo, or repeat last keyboard shortcut command

  • Ctrl
  • +
  • Y

Paste and indent correctly

  • Ctrl
  • +
  • Shift
  • +
  • V

Select next auto-complete suggestion

  • Ctrl
  • +
  • Space

Soft undo; jumps to your last change before undoing, change when repeated

  • Ctrl
  • +
  • U

Wrap selection in HTML tag

  • Alt
  • +
  • Shift
  • +
  • W

Close current HTML tag

  • Alt
  • +
  • .

Hard wrap line to ruler column setting

  • Alt
  • +
  • Q

Navigation

Quick-open files by name

  • Ctrl
  • +
  • P

Goto symbol

  • Ctrl
  • +
  • R

Goto word in current file

  • Ctrl
  • +
  • ;

Goto line in current file

  • Ctrl
  • +
  • G

General

Command prompt

  • Ctrl
  • +
  • Shift
  • +
  • P

Toggle sidebar

  • Ctrl
  • +
  • K, B

Show scope in status bar

  • Ctrl
  • +
  • Shift
  • +
  • Alt
  • +
  • P

Find/Replace

Find

  • Ctrl
  • +
  • F

Replace

  • Ctrl
  • +
  • H

Find in files

  • Ctrl
  • +
  • Shift
  • +
  • F

Split window

Revert view to single column

  • Alt
  • +
  • Shift
  • +
  • 1

Split view into two columns

  • Alt
  • +
  • Shift
  • +
  • 2

Split view into three columns

  • Alt
  • +
  • Shift
  • +
  • 3

Split view into four columns

  • Alt
  • +
  • Shift
  • +
  • 4

Set view to grid (4 groups)

  • Alt
  • +
  • Shift
  • +
  • 5

Split view into two rows

  • Alt
  • +
  • Shift
  • +
  • 8

Jump to group where number is 1-4

  • Ctrl
  • +
  • 1-4

Move file to specified group where number is 1-4

  • Ctrl
  • +
  • Shift
  • +
  • 1-4

Bookmarks

Toggle bookmark

  • Ctrl
  • +
  • F2

Next bookmark

  • F2

Previous bookmark

  • Shift
  • +
  • F2

Clear bookmarks

  • Ctrl
  • +
  • Shift
  • +
  • F2

Text manipulation

Transform to uppercase

  • Ctrl
  • +
  • K, U

Transform to lowercase

  • Ctrl
  • +
  • K, L

Sublime Text Keyboard Shortcuts for Mac

Editing

Cut line

  • Cmd
  • +
  • X

Insert line after

  • Cmd
  • +
  • Enter

Insert line before

  • Cmd
  • +
  • Shift
  • +
  • Enter

Move line/selection up

  • Cmd
  • +
  • Shift
  • +
  • Up

Move line/selection down

  • Cmd
  • +
  • Shift
  • +
  • Down

Select line u2013 Repeat to select next lines

  • Cmd
  • +
  • L

Select word u2013 Repeat selects other occurrences

  • Cmd
  • +
  • D

Jump to closing parentheses u2013 Repeat to jump to opening parentheses

  • Cmd
  • +
  • M

Select all contents of the current parentheses

  • Cmd
  • +
  • Shift
  • +
  • M

Delete line

  • Cmd
  • +
  • Shift
  • +
  • K

Delete from cursor to end of line

  • Cmd
  • +
  • K, K

Delete from cursor to start of line

  • Cmd
  • +
  • K
  • +
  • Backspace

Indent current line(s)

  • Cmd
  • +
  • ]

Un-indent current line(s)

  • Cmd
  • +
  • [

Duplicate line(s)

  • Cmd
  • +
  • Shift
  • +
  • D

Join line below to the end of the current line

  • Cmd
  • +
  • J

Comment/un-comment current line

  • Cmd
  • +
  • /

Block comment current selection

  • Cmd
  • +
  • Shift
  • +
  • /

Redo, or repeat last keyboard shortcut command

  • Cmd
  • +
  • Y

Paste and indent correctly

  • Cmd
  • +
  • Shift
  • +
  • V

Select next auto-complete suggestion

  • Cmd
  • +
  • Space

Soft undo; jumps to your last change before undoing, change when repeated

  • Cmd
  • +
  • U

Wrap selection in HTML tag

  • Alt
  • +
  • Shift
  • +
  • W

Close current HTML tag

  • Alt
  • +
  • .

Hard wrap line to ruler column setting

  • Alt
  • +
  • Q

Navigation

Quick-open files by name

  • Cmd
  • +
  • P

Goto symbol

  • Cmd
  • +
  • R

Goto word in current file

  • Cmd
  • +
  • ;

Goto line in current file

  • Cmd
  • +
  • G

General

Command prompt

  • Cmd
  • +
  • Shift
  • +
  • P

Toggle sidebar

  • Cmd
  • +
  • K, B

Show scope in status bar

  • Cmd
  • +
  • Shift
  • +
  • Alt
  • +
  • P

Find/Replace

Find

  • Cmd
  • +
  • F

Replace

  • Cmd
  • +
  • H

Find in files

  • Cmd
  • +
  • Shift
  • +
  • F

Split window

Revert view to single column

  • Alt
  • +
  • Shift
  • +
  • 1

Split view into two columns

  • Alt
  • +
  • Shift
  • +
  • 2

Split view into three columns

  • Alt
  • +
  • Shift
  • +
  • 3

Split view into four columns

  • Alt
  • +
  • Shift
  • +
  • 4

Set view to grid (4 groups)

  • Alt
  • +
  • Shift
  • +
  • 5

Split view into two rows

  • Alt
  • +
  • Shift
  • +
  • 8

Jump to group where number is 1-4

  • Cmd
  • +
  • 1-4

Move file to specified group where number is 1-4

  • Cmd
  • +
  • Shift
  • +
  • 1-4

Bookmarks

Toggle bookmark

  • Cmd
  • +
  • F2

Next bookmark

  • F2

Previous bookmark

  • Shift
  • +
  • F2

Clear bookmarks

  • Cmd
  • +
  • Shift
  • +
  • F2

Text manipulation

Transform to uppercase

  • Cmd
  • +
  • K, U

Transform to lowercase

  • Cmd
  • +
  • K, L
Scroll to Top