The must-know shortcuts map

The following is a must-know shortcuts map for Sublime Text:

General

General shortcuts for Sublime's basic features are as follows:

Command

Windows/Linux

OS X

Open the command palette

Ctrl + Shift + P

command + Shift + P

Toggle Side Bar

Ctrl + KB

command + KB

Show scope in status bar

Ctrl + Shift + Alt + P

Control + Shift + P

Python Console

Ctrl + `

Control + `

New Window

Ctrl + Shift + N

command + Shift + N

Tabs

Shortcuts to control tabbing in Sublime:

Command

Windows/Linux

OS X

New Tab

Ctrl + N

command + N

Close Tab

Ctrl + W

command + W

Open last closed Tab

Ctrl + Shift + T

command + Shift + T

Next Tab

Ctrl + Tab

Control + Tab

Previous Tab

Ctrl + Shift+Tab

Control + Shift + Tab

Bookmarks

Bookmarks are similar to the favorites option while surfing in the Web; we can toggle bookmarks on lines and then jump between them. Here are the shortcuts for using Bookmarks:

Command

Windows/Linux

OS X

Toggle Bookmark

Ctrl + F2

command + F2

Next Bookmark

F2

F2

Previous Bookmark

Shift + F2

Shift + F2

Clear Bookmarks

Ctrl + Shift + F2

command + Shift + F2

Editing

All Sublime shortcuts that are related to editing text/code:

Command

Windows/Linux

OS X

Delete line

Ctrl + X

command + X

Insert line after

Ctrl + Enter

command + Enter

Insert line before

Ctrl + Shift + Enter

command + Shift + Enter

Move line Up/Down

Ctrl + Shift + the up/down arrow key

command + Control + the up/down arrow key

Select line

Ctrl + L

command + L

Select word

Ctrl + D

command + D

Jump to matching bracket

Ctrl + M

Control + M

Delete from cursor to end of line

Ctrl + KK

command + KK

Delete from cursor to start of line

Ctrl + K + backspace

command + K + backsapce

Indent current lines

Ctrl + ]

command + ]

Un-indent current lines

Ctrl + [

command + [

Duplicate lines

Ctrl + Shift + D

command + Shift + D

Join lines

Ctrl + J

command + J

Toggle comment for current line

Ctrl + /

command + /

Block comment selection

Ctrl + Shift + /

command + Option + /

Undo

Ctrl + Z

command + Z

Redo

Ctrl + Y

command + Y

Soft Undo

Ctrl + U

Control + U

Soft Redo

Ctrl + Shift + U

command + Shift + U

Next auto-complete suggestion

Ctrl + Space

Control + Space

Paste and indent correctly

Ctrl + Shift + V

command + Shift + V

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset