Keyboard shortcut cheat sheet
Definitions
-
⌘Command
-
⌥Option (Alt)
-
⌃Control
-
⇧Shift
Applications
-
⌘NCreate a new file.
-
⌘OOpen a file.
-
⌘SSave this file.
-
⌘WClose this window or tab.
-
⌘QFully quit this application.
-
⌘TabGo to previous application.
-
⌘Tab + Hold ⌘Will display a list of all the open applications.
While holding
⌘if you pressTabyou can select which app to view.Pressing
Qwhile still holding⌘will quit that application in the background.Pressing
Hwhile still holding⌘will hide that application.Pressing
1while still holding⌘will show all the windows open for that app.
-
⌘`— ‘Will cycle forwards through the last viewed windows in this application.’
-
⌘⇧`— ‘Will cycle backwards through the last viewed windows.’
Text
-
⌘ASelect all the text.
-
⌘CCopy the selected text.
-
⌘XCut the selected text.
-
⌘VPaste the previously copied item.
-
⌘ZUndo the recent change.
-
⌘⇧ZRedo the recent undo.
-
⌘FFind within this file.
-
⌘GFind next matching item.
-
⌘⇧GFind previous matching item.
-
⌘➔Move to the end of the line.
-
⌘←Move to the start of the line.
-
⌥➔Move to the next word.
-
⌥←Move to the previous word.
-
⌘↑Move to the top of the file.
-
⌘↓Move to the bottom of the file.
-
Shift+ArrowsHighlight text.
Can be combined with
⌘&⌥
Files & folders
-
ReturnRename a file or folder.
-
SpaceTrigger a preview.
-
⌘NMake a new Finder window.
-
⌘⇧NMake a new folder in this location.
-
⌘ DeleteMove a file/folder to the trash.
-
⌘OOpen a file in the default application.
-
⌘DDuplicate the file/folder.
-
ArrowsMove around the files.
-
⌘1,⌘2, etc.Switch between “Icon”, “List” and “Column” views.
Web browser
-
⌘RRefresh the current website.
-
⌘LFocus the URL bar.
-
⌘TCreate a new tab.
-
⌘⇧TReopen a closed tab.
-
⌘1,⌘2, etc.Switch to tab by number.
-
Delete,⌘[Go back.
-
⌘]Go forward.
-
⌘⇧]Go to the next tab.
-
⌘⇧[Go to the previous tab.
-
TabMove around items in the website.
-
Return/SpaceActivate a link or control.
-
SpaceScroll down a screen.
-
Shift+SpaceScroll up a screen.
Code editor
-
⌘⌥NNew file in current folder.
If the advance new file package is installed.
-
⌘PQuick open a file.
Works when you’ve opened a folder in the editor.
-
⌘1,⌘2, etcSwitch to tab by number.
-
Tab,⌘]Indent, works on multiple lines.
-
Shift+Tab,⌘[Outdent, works on multiple lines.
-
⌘⇧]Go to the next tab/file.
-
⌘⇧[Go to the previous tab/file.
-
⌘⇧PExecute a command in the editor.
-
⌘RFilter & find by keyword in this file.
-
⌘⌥FFind and replace within this file.
-
⌘⇧FFind and replace within this folder.
-
⌃⇧KDelete this line.
-
⌃⌘↑Move a line up.
-
⌃⌘↓Move a line down.
-
⌘JJoin the line below with this line.
-
⌘⇧DDuplicate this line.