The main shortcuts in Deft’s desktop app. Most are the same on a Mac with Cmd in place of Ctrl; the table gives both.
Anywhere
| Windows and Linux | Mac | |
|---|
| Ctrl+, | Cmd+, | Open or close Settings |
| Ctrl+Shift+F | Cmd+Shift+F | Search every note in the folder |
| Esc | Esc | Close Settings, Search, a menu or a dialog |
| Enter | Enter | Press a dialog’s default button |
In a Markdown note.
| Windows and Linux | Mac | |
|---|
| Ctrl+B | Cmd+B | Bold |
| Ctrl+I | Cmd+I | Italic |
| Ctrl+Shift+X | Cmd+Shift+X | Strikethrough |
| Ctrl+Shift+H | Cmd+Shift+H | Highlight |
| Ctrl+E | Cmd+E | Inline code, or a code block around whole lines |
| Ctrl+K | Cmd+K | Link |
| Ctrl+/ | Cmd+/ | Comment out the line or selection |
Editing
| Windows and Linux | Mac | |
|---|
| Ctrl+Z | Cmd+Z | Undo |
| Ctrl+Y | Cmd+Shift+Z | Redo (Ctrl+Shift+Z too on Linux) |
| Tab | Tab | Indent, or nest a list item |
| Shift+Tab | Shift+Tab | Outdent, or move a list item out a level |
| Enter | Enter | Continue a list or quote |
| Alt+Up | Opt+Up | Move the line up |
| Alt+Down | Opt+Down | Move the line down |
| Shift+Alt+Up | Shift+Opt+Up | Duplicate the line, staying on the upper copy |
| Shift+Alt+Down | Shift+Opt+Down | Duplicate the line, moving to the lower copy |
| Ctrl+Shift+K | Cmd+Shift+K | Delete the line |
| Alt+L | Ctrl+L | Select the line |
| Ctrl+Enter | Cmd+Enter | In Markdown, start a new line below, wherever the cursor is in the line |
| Ctrl+click | Cmd+click | Follow a link |
Tables
In a Markdown table, with its source showing.
| Windows and Linux | Mac | |
|---|
| Tab | Tab | Next cell; after the last cell, a new row |
| Shift+Tab | Shift+Tab | Previous cell |
| Enter | Enter | New row below; on an empty last row, leave the table |
Find
In the open note.
| Windows and Linux | Mac | |
|---|
| Ctrl+F | Cmd+F | Find |
| Ctrl+H | Cmd+Opt+F | Find and replace |
| Enter | Enter | Next match |
| Shift+Enter | Shift+Enter | Previous match |
| Ctrl+G | Cmd+G | Next match, from the note |
| Ctrl+Shift+G | Cmd+Shift+G | Previous match, from the note |
| Esc | Esc | Close Find |
LaTeX
In a .tex file.
| Windows and Linux | Mac | |
|---|
| Ctrl+Enter | Cmd+Enter | Compile and show the PDF |
| Esc | Esc | Back from the PDF to the text |
| Ctrl+B | Cmd+B | \textbf |
| Ctrl+I | Cmd+I | \emph |
| Ctrl+E | Cmd+E | \texttt |
| Ctrl+U | Cmd+U | \underline |
| Ctrl+/ | Cmd+/ | Comment out the line or selection with % |
Text size and zoom
In a note these change the text size; in a picture or PDF opened from the file list they zoom.
| Windows and Linux | Mac | |
|---|
| Ctrl+= | Cmd+= | Larger, or zoom in |
| Ctrl+- | Cmd+- | Smaller, or zoom out |
| Ctrl+0 | Cmd+0 | Back to the usual size, or fit |
| Ctrl+scroll | Cmd+scroll | Larger or smaller as you scroll |
File list
| Windows and Linux | Mac | |
|---|
| F2 | F2 | Rename |
| Delete | Fn+Delete | Move to the trash |
| Right | Right | Open a folder |
| Left | Left | Close a folder |
On a Mac
From the menu bar, as in other Mac apps.
| Mac | |
|---|
| Cmd+W | Close the window |
| Cmd+M | Minimize |
| Ctrl+Cmd+F | Full screen |
| Cmd+H | Hide Deft |
| Cmd+Q | Quit |