Keyboard shortcuts
The same editing shortcuts work in the Mac app and in the VS Code extension. The Windows and Linux column applies to the VS Code extension.
Editing
Action | macOS | Windows / Linux |
|---|---|---|
Undo |
|
|
Redo |
|
|
Bold |
|
|
Italic |
|
|
Strikethrough |
|
|
Inline code |
|
|
Link |
|
|
Inline math |
|
|
Clear formatting |
|
|
Paste as plain text |
|
|
Line break within a paragraph |
|
|
Find |
|
|
Find next / previous |
|
|
Replace |
|
|
Clear formatting removes bold, italic, strikethrough, inline code and highlight from the selected text. Links and inline math stay. With nothing selected, it only affects what you type next. On a Japanese (JIS) keyboard, press ⌘¥ (Ctrl+¥) instead.
Blocks
Action | macOS | Windows / Linux |
|---|---|---|
Paragraph |
|
|
Heading 1–5 |
|
|
Numbered list |
|
|
Bulleted list |
|
|
Quote |
|
|
Code block |
|
|
Move block up / down |
|
|
Open the block menu |
|
|
Edit the block's Markdown |
|
|
Select the current block |
|
|
Extend the block selection |
|
|
Indent / outdent a list item |
|
|
Pressing the list, quote or code-block shortcut again on a block that is already that kind turns it back into text. The heading shortcuts do not toggle back that way — use Paragraph. With the caret in a list item, the list shortcuts change that one item rather than the whole list.
Heading 6 has no shortcut; type ###### at the start of a line. Table rows and columns have no shortcut either; move them from the table's menu (see Tables). With several blocks selected, the move shortcuts move all of them.
Control-key navigation on macOS
Olive keeps the Emacs-style text navigation that macOS provides everywhere, including inside math fields, tables, toggles and menus.
Keys | Movement |
|---|---|
| One character left / right |
| One line or menu item up / down |
| Start / end of the line or menu |
| Cancel an open menu, popup or drag |
On Windows and Linux these key combinations are left to VS Code and the operating system.
In the Mac app
Action | Keys |
|---|---|
New note |
|
New window |
|
Open a folder |
|
Save now |
|
Go to a note or search notes |
|
Back / forward |
|
Today's daily note |
|
Hide or show the sidebar |
|
Make the note's text larger / smaller / actual size |
|
Settings |
|
The text-formatting and paragraph shortcuts are also listed in the Format menu.
In VS Code
Olive's editing commands appear under Olive in VS Code's Keyboard Shortcuts editor (⌘K ⌘S, or Ctrl+K Ctrl+S). You can search for them there, change their keys, or see when another extension uses the same keys.
Back to the contents.