Keyboard Shortcuts - Windows/Linux



Keyboard Shortcuts - Windows/Linux

N.B: This topic is a draft and may contain wrong information.


Editing

KeypressCommand
Ctrl + XCut line
Ctrl + ↩Insert line after
Ctrl + ⇧ + ↩Insert line before
Ctrl + ⇧ + ↑Move line/selection up
Ctrl + ⇧ + ↓Move line/selection down
Ctrl + LSelect line - Repeat to select next lines
Ctrl + DSelect word - Repeat select others occurrences
Ctrl + MJump to closing parentheses Repeat to jump to opening parentheses
Ctrl + ⇧ + MSelect all contents of the current parentheses
Ctrl + ⇧ + KDelete Line
Ctrl + KKDelete from cursor to end of line
Ctrl + K + ⌫Delete from cursor to start of line
Ctrl + ]Indent current line(s)
Ctrl + [Un-indent current line(s)
Ctrl + ⇧ + DDuplicate line(s)
Ctrl + JJoin line below to the end of the current line
Ctrl + /Comment/un-comment current line
Ctrl + ⇧ + /Block comment current selection
Ctrl + YRedo, or repeat last keyboard shortcut command
Ctrl + ⇧ + VPaste and indent correctly
Ctrl + SpaceSelect next auto-complete suggestion
Ctrl + Usoft undo; jumps to your last change before undoing change when repeated
Alt + ⇧ + WWrap Selection in html tag
Alt + .Close current html tag
Alt + qHard wrap line to ruler column setting

Windows

Ctrl + Alt + UpColumn selection up
Ctrl + Alt + DownColumn selection down

Linux

Alt + ⇧ + UpColumn selection up
Alt + ⇧ + DownColumn selection down

General

KeypressCommand
Ctrl + ⇧ + PCommand prompt
Ctrl + KBToggle side bar
Ctrl + ⇧ + Alt + PShow scope in status bar

Find/Replace

KeypressCommand
Ctrl + FFind
Ctrl + HReplace
Ctrl + ⇧ + FFind in files

Tabs

Split window

KeypressCommand
Alt + ⇧ + 1Revert view to single column
Alt + ⇧ + 2Split view into two columns
Alt + ⇧ + 3Split view into three columns
Alt + ⇧ + 4Split view into four columns
Alt + ⇧ + 5Set view to grid (4 groups)
Alt + ⇧ + 8Split view into two rows
Ctrl + [NUM]Jump to group where num is 1-4
Ctrl + ⇧ + [NUM]Move file to specified group where num is 1-4

Bookmarks

KeypressCommand
Ctrl + F2Toggle bookmark
F2Next bookmark
⇧ + F2Previous bookmark
Ctrl + ⇧ + F2Clear bookmarks

Text manipulation

KeypressCommand
Ctrl + KUTransform to Uppercase
Ctrl + KLTransform to Lowercase
KeypressCommand
⌘ + XCut line
⌘ + ↩Insert line after
⌘ + ⇧ + ↩Insert line before
⌘ + ⌃ + ↑Move line/selection up
⌘ + ⌃ + ↓Move line/selection down
⌘ + LSelect line - Repeat to select next lines
⌘ + DSelect word - Repeat to select next occurrence
⌃ + ⌘ + GSelect all occurrences of current selection
⌃ + ⇧ + ↑Extra cursor on the line above
⌃ + ⇧ + ↓Extra cursor on the line below
⌃ + MJump to closing parentheses Repeat to jump to opening parentheses
⌃ + ⇧ + MSelect all contents of the current parentheses
⌃ + AMove to beginning of line
⌘ + LeftMove to beginning of text on line
⌃ + E, ⌘ + RightMove to end of line
⌘ + K, ⌘ + KDelete from cursor to end of line
⌘ + K + ⌫Delete from cursor to start of line
⌘ + ]Indent current line(s)
⌘ + [Un-indent current line(s)
⌘ + ⇧ + DDuplicate line(s)
⌘ + JJoin line below to the end of the current line
⌘ + /Comment/un-comment current line
⌘ + ⌥ + /Block comment current selection
⌘ + YRedo, or repeat last keyboard shortcut command
⌘ + ⇧ + VPaste and indent correctly
⌃ + SpaceSelect next auto-complete suggestion
⌃ + USoft undo; jumps to your last change before undoing change when repeated
⌃ + ⇧ + UpColumn selection up
⌃ + ⇧ + DownColumn selection down
⌃ + ⇧ + WWrap Selection in html tag
⌃ + ⇧ + KDelete current line of cursor

General

KeypressCommand
⌘ + ⇧ + PCommand Palette
⌃ + `Python Console
⌃ + ⌘ + FToggle fullscreen mode
⌃ + ⇧ + ⌘ + FToggle distraction-free mode
⌘ + K, ⌘ + BToggle side bar
⌃ + ⇧ + PShow scope in status bar

Find/Replace

KeypressCommand
⌘ + FFind
⌘ + ⌥ + FReplace
⌘ + ⇧ + FFind in files
⌘ + IIncremental Find

Scrolling

KeypressCommand
⌃ + VScroll down one page
⌃ + LCenter current line vertically in page
⌘ + DownScroll to end of file
⌘ + UpScroll to start of file

Tabs

KeypressCommand
⌘ + ⇧ + tOpen last closed tab
⌘ + [NUM]Jump to tab in current group where num is 1-9
⌘ + 0Jump to 10th tab in current group
⌘ + ⇧ + [Cycle left through tabs
⌘ + ⇧ + ]Cycle right through tabs
^ + TabCycle up through recent tabs
⇧ + ^ + TabCycle down through recent tabs
Find in files

Split window

KeypressCommand
⌘ + ⌥ + 1Revert view to single column
⌘ + ⌥ + 2Split view into two columns
⌘ + ⌥ + 3Split view into three columns
⌘ + ⌥ + 4Split view into four columns
⌘ + ⌥ + 5Set view to grid (4 groups)
⌃ + [NUM]Jump to group where num is 1-4
⌃ + ⇧ + [NUM]Move file to specified group where num is 1-4

Bookmarks

KeypressCommand
⌘ + F2Toggle bookmark
F2Next bookmark
⇧ + F2Previous bookmark
⇧ + ⌘ + F2Clear bookmarks

Text manipulation

KeypressCommand
⌘ + K, ⌘ + UTransform to Uppercase
⌘ + K, ⌘ + LTransform to Lowercase
⌘ + ⌃ + up, ⌘ + ⌃ + downClip text upwards / downwards

Glossary

buffer
Data of a loaded file and additional metadata, associated with one or more views. The distinction between buffer and view is technical. Most of the time, both terms can be used interchangeably.
view
Graphical display of a buffer. Multiple views can show the same buffer.
plugin
A feature implemented in Python, which can consist of a single command or multiple commands. It can be contained in one .py file or many .py files.
package
This term is ambiguous in the context of Sublime Text, because it can refer to a Python package (unlikely), a folder inside Packages or a .sublime-package file. Most of the time, it means a folder inside Packages containing resources that belong together, which build a new feature or provide support for a programming or markup language.
panel
An input/output widget, such as a search panel or the output panel.
overlay
An input widget of a special kind. For example, Goto Anything is an overlay.
file type
In the context of Sublime Text, file type refers to the type of file as determined by the applicable .tmLanguage syntax definition.
However, this is an ambiguous term, and in some instances it could also be used with the broader meaning it has in technical texts.

Post a Comment

Note: Only a member of this blog may post a comment.

[blogger]

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget