Skip to content

Keyboard Shortcuts - OSX

WARNING

This topic is a draft and may contain wrong information.

Editing

KeypressCommand
 XCut line
 Insert line after
  Insert line before
Ctrl  Move line/selection up
Ctrl  Move line/selection down
 LSelect line - Repeat to select next lines
 DSelect word - Repeat to select next occurrence
Ctrl  GSelect all occurrences of current selection
Ctrl  Extra cursor on the line above
Ctrl  Extra cursor on the line below
Ctrl MJump to closing parentheses Repeat to jump to opening parentheses
Ctrl  MSelect all contents of the current parentheses
Ctrl AMove to beginning of line
 Move to beginning of text on line
Ctrl E,  Move 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
Ctrl Select next auto-complete suggestion
 USoft undo; jumps to your last change before undoing change when repeated
Ctrl  Column selection up
Ctrl  Column selection down
Ctrl  WWrap Selection in html tag
Ctrl  KDelete current line of cursor
KeypressCommand
 P,  TQuick-open files by name
 RGoto symbol
Goto word in current file
Ctrl GGoto line in current file

General

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

Find/Replace

KeypressCommand
 FFind
  FReplace
  FFind in files
 IIncremental Find

Scrolling

KeypressCommand
Ctrl VScroll down one page
Ctrl LCenter current line vertically in page
 Scroll to end of file
 Scroll to start of file

Tabs

KeypressCommand
  TOpen last closed tab
 [1-9]Jump to tab in current group
 0Jump to 10th tab in current group
  [Cycle left through tabs
  ]Cycle right through tabs
Ctrl Cycle up through recent tabs
Ctrl  Cycle 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)
Ctrl [1-4]Jump to group
Ctrl  [1-4]Move file to specified group

Bookmarks

KeypressCommand
 F2Toggle bookmark
F2Next bookmark
 F2Previous bookmark
  F2Clear bookmarks

Text manipulation

KeypressCommand
 K,  UTransform to Uppercase
 K,  LTransform to Lowercase
Ctrl  , Ctrl  Clip text upwards / downwards