Salesforce keyboard shortcuts for Windows and Mac

Keyboard shortcuts for Salesforce Lightning Experience from Salesforce Help: the standard keys, the extra tab keys of Lightning console apps, composer-window keys and the two Salesforce Classic keys. The Windows and Mac columns show the bindings Salesforce lists; plain keys such as E are the same on both. Keys that start with G are two-key sequences: G, D means press G, release it, then press D. The Classic console keymap is not covered.

38 shortcuts in 7 sections. Checked row by row against Salesforce Help on . Edited by Jay.

Lightning Experience: Global 9

Search (/), Insert quick text (Ctrl + .) and the shortcut menu (Ctrl + /) use the / or . key, which Salesforce supports only on U.S. and U.K. keyboards.

ActionWindowsMac
Close or deselectCloses or deselects the current window, although some windows and dialogs ignore it.EscEsc
EditOpens the current record for editing; reports, dashboards, feed items, email messages, approval requests and Knowledge articles ignore the key.EE
Insert quick textPops up the quick text browser for finding, previewing and inserting quick text.Ctrl+.Cmd+.
Open or close MacrosWorks in Lightning apps whose utility bar includes Macros, showing the utility's panel or hiding it again.MM
Open or close NotesToggles the Notes utility; the key responds only after the utility has been opened once.NN
Post to feedSubmits a post, comment or question; other publisher actions such as email and polls do not respond to it.Ctrl+EnterCmd+Return
SaveSaves the record, as long as keyboard focus is on a field.Ctrl+SCmd+S
SearchMoves the cursor into the search box.//
Show keyboard shortcut menuOpens a window listing the keyboard shortcuts that are available.Ctrl+/Cmd+/

Lightning Experience: Navigation 6

ActionWindowsMac
Focus notificationsMoves focus to the notification panel; each further press goes to the next notification.CC
Focus notifications (reverse order)Moves focus to the notification panel; each further press goes to the previous notification.Shift+CShift+C
Go to composer windowMoves focus to the docked composer window.GthenDGthenD
Go to publisherMoves focus to the publisher; Tab and the arrow keys then move between its actions.GthenPGthenP
Go to other regionCycles among the regions of certain pages, for instance from a kanban card to the side panel or between builder panes.Ctrl+F6Cmd+F6
Go to utility barMoves focus to the utility bar.GthenUGthenU

Composer Windows 6

G, D is also the Go to composer window key in the Navigation table; this article lists the same keystroke as opening the overflow menu.

ActionWindowsMac
Open the overflow menuOpens the overflow menu of open composer windows from anywhere on the page.GthenDGthenD
Move through open composer windowsSteps through the open composer windows listed in the overflow menu.UporDownUporDown
Move between open composer windowsWorks on the composer windows themselves rather than on their list in the overflow menu.LeftorRightLeftorRight
Focus inside the composer windowFrom a composer window header, moves keyboard focus into the composer itself.EnterReturn
Cycle through the fieldsMoves from field to field inside the composer window.TabTab
Move focus to the window's headerTakes focus back from the composer to the header of its window.EscEsc

Console Apps: Global 4

ActionWindowsMac
Copy tab URLPuts the address of the tab that has focus on the clipboard; release the first two keys before pressing S.Ctrl+CthenSCmd+CthenS
Copy workspace tab URL with subtabsUnlike the row above, the copied URL covers the focused workspace tab and every subtab related to it.Ctrl+CthenWCmd+CthenW
Open or close HistoryToggles the console utility that lists the workspace tabs and subtabs viewed most recently.HH
Show or hide Omni-ChannelResponds in the Service Console app alone, where it toggles the utility for agent presence and incoming work.OO

Console Apps: Navigation 8

Ctrl + Click appears twice because Salesforce lists one action for a navigation item and another for a link.

ActionWindowsMac
Go to item menuOpens the item menu on its first item; the arrow keys move between items and Enter opens one.GthenIGthenI
Go to navigation itemActs on the navigation item that is selected, either opening it or moving keyboard focus to it.GthenLGthenL
Go to subtabMoves focus to the active subtab.GthenSGthenS
Go to workspace tabPuts keyboard focus on the workspace tab that is active, after which Left and Right switch tabs.GthenWGthenW
Start "Go to" inside a fieldStands in for G at the start of a go-to sequence while focus is in an input field, form or dialog.Ctrl+Alt+GCmd+Option+G
Open navigation item in new tabClick an entry of the navigation menu with the key held to give it a workspace tab of its own.Ctrl+ClickCmd+Click
Open link in background tabClick a link with the key held to load it in a new subtab or workspace tab without leaving the current one.Ctrl+ClickCmd+Click
Switch tabsMoves between workspace tabs and subtabs while keyboard focus is on the tab itself.LeftorRightLeftorRight

Console Apps: Tabs 3

ActionWindowsMac
Close workspace tabCloses the current workspace tab together with its subtabs.Shift+XShift+X
Close all tabsCloses every tab that is not pinned.Shift+WShift+W
Refresh tabReloads the current workspace tab together with its subtabs.Shift+RShift+R

Salesforce Classic 2

In Firefox the Recent Items key is Shift + Alt + number. Internet Explorer highlights the record on Alt + number and opens it on Enter.

ActionWindowsMac
Open Recent Items recordOpens an entry of the Recent Items list: 1 is the first item and 0 opens the tenth.Alt+0-9Ctrl+Option+0-9
Show or hide sidebarShows or hides the collapsible sidebar when your org has it enabled.Alt+SOption+S

Notes

Two kinds of shortcut: a key, or a “go to” sequence

Lightning Experience uses single keys for common actions — E edits the record you are looking at, / drops the cursor into the search box, M and N open or close the Macros and Notes utilities — and two-key sequences for moving focus. A sequence is written G, D: press G, let go, then press D. G, P goes to the publisher, G, U to the utility bar and G, D to the docked composer. Inside a dialog, form or input field the console apps article lists Ctrl + Alt + G as the modifier that starts a go-to command instead of G. Keys are not case-sensitive and the order of Ctrl, Alt and Shift does not matter.

Console apps add tab handling

The Salesforce Help article for Lightning console apps repeats most of the standard keys and adds a layer for workspace tabs and subtabs. G, W and G, S move focus to the active workspace tab or subtab, Left / Right then switch between tabs while focus is on a tab, Shift + X closes the current workspace tab with its subtabs, Shift + W closes every unpinned tab and Shift + R refreshes the current one. Ctrl + C, S copies the URL of the focused tab and Ctrl + C, W the URL of the focused workspace tab with its related subtabs. H and O open or close the History and Omni-Channel utilities; Omni-Channel responds only in the Service Console app.

Where the keys do not apply, and the Classic set

Lightning shortcuts are ignored inside Visualforce pages, iFramed components and Classic apps viewed through Lightning, and the shortcuts that use the / or period key are supported only on US and UK keyboard layouts. They cannot be customised, but they can be switched off per browser from the Help menu’s View Keyboard Shortcuts window, which Salesforce offers to prevent interference with assistive tools such as screen readers. Salesforce Classic has a much smaller documented set: Alt + 0-9 opens an item from the Recent Items list (Alt + 1 for the first, Alt + 0 for the tenth) and Alt + S shows or hides the collapsible sidebar. The two Salesforce Help articles this table is built from are linked in the source note above.

Questions

Why does pressing G then D do nothing?

Release G before pressing D; the comma in G, D is not a key. Inside a dialog, form or input field the console apps article says to use Ctrl + Alt + G instead of G. Also check that shortcuts have not been switched off for this browser in the Help menu, and that the page is not a Visualforce page or iFramed component.

Can I change Salesforce keyboard shortcuts?

No. Salesforce states that keyboard shortcuts cannot be customised in Lightning Experience. You can switch them off for a browser from the Help menu, View Keyboard Shortcuts, which Salesforce offers to avoid interference with assistive tools such as screen readers.

Which shortcut shows the full list inside Salesforce?

Ctrl + / (Cmd + / on a Mac) opens a window that lists the available keyboard shortcuts. The Help menu in the global header also has a View Keyboard Shortcuts entry.

Do the console shortcuts work in a standard Lightning app?

Salesforce documents the tab keys (Shift + X, Shift + W, Shift + R, G then W and the rest) only for Lightning console apps. The article for apps with standard navigation lists just the Global and Navigation keys of the first two tables.

Why do / and Ctrl + . not work on my keyboard?

Salesforce supports its keyboard shortcuts on U.S. and U.K. keyboards and says that shortcuts including / or . (Search, Insert quick text and Ctrl + /) are not supported on other language keyboards.

Sources and checks

Every row on this page was matched to a line in the documentation above on . A binding that could not be found there is not listed.

Found a wrong or missing key? Tell us and it gets checked against the source. How we verify describes the process and its limits.