Open in TheBrain

Keyboard Shortcuts

Overview

Almost every command in TheBrain can have a keyboard shortcut, and the Keyboard settings (under Settings > User) let you see them all and change them to suit how you work. The default shortcuts throughout this knowledge base are exactly that — defaults you can rebind here. The Keyboard settings are in the desktop and web apps, but not in the mobile apps.

Keyboard Symbols

Topics give each shortcut first as it is in Windows, and then as it is on a Mac, such as Ctrl+Z (⌘Z on Mac). The Mac form uses Apple's symbols for its modifier keys:

SymbolMac keyUsual Windows key
⌘CommandCtrl
⌥OptionAlt
⇧ShiftShift
⌃ControlNone. Control is a key of its own on a Mac, used by only a few shortcuts.

Finding a Command

The Keyboard settings list commands by category, with a search commands box to find one quickly. Turn on Only Show Assigned to see just the commands that currently have a shortcut.

The Keyboard tab in Settings, searched for "expand", showing the matching commands in their groups with their shortcuts

Rebinding a Shortcut

Click a command to edit its shortcut, then press the keys you want. TheBrain warns you if the combination conflicts with another command or is a reserved system shortcut. The Markdown file window's Save and Save As... are the exception: they work only in those windows, so they can share a combination with a command that works elsewhere (see Markdown File Windows). You can remove a single binding or clear all of a command's bindings. Some commands are fixed and can't be rebound. A default shortcut on a key you can't record here — such as Space, Enter, or an arrow key — can't be removed either, since there would be no way to add it back; you can still give the command other shortcuts.

Which Combinations Are Accepted

Adding a shortcut keeps the ones the command already has. The dialog also previews the equivalent shortcut on the other platform (Mac or Windows) and warns you when it would not be available there.

The Edit Command Shortcut dialog for View > Expand All after Shift+Cmd+K was pressed. It says the shortcut is already assigned to the command Show Content Window, shows Windows Preview: Shift+Ctrl+K, and its buttons are Cancel and Replace

Shortcuts on Your Other Devices

When you are signed in, your custom shortcuts are saved with your account and synced, so they follow you to your other devices and to the web app without exporting anything. A change made on one device reaches the others after it syncs. Your toolbar layouts are saved the same way (see Customizing Toolbars).

Shortcuts are saved in a form that works across platforms: a Ctrl shortcut on Windows or Linux is a ⌘ shortcut on a Mac, and Alt is ⌥. The Mac's Control key (⌃) is the exception. It has no counterpart on Windows or Linux, so a shortcut that uses it is available only on your Macs. If you want the command on a shortcut everywhere, add a second shortcut for it that doesn't use ⌃; a command can have more than one.

If you use the desktop app without signing in, your shortcuts and toolbar layouts are kept on that device only. When you create a new account from that device, they are copied into it.

Import, Export, and Reset

From the settings' actions menu (the … button) you can:

  • A plain key you never set — If a command shows a single key such as 1 or G as its shortcut, and that shortcut can't be removed, it is a leftover from an earlier version of TheBrain. Current versions remove these leftovers automatically when they load your shortcuts, so update TheBrain on each device where you see one. A single key that is a default, such as Space, is kept.

Related Topics