Keyboard shortcuts

 

Keyboard Shortcuts - Windows/Linux

Warning
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

Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5