Deft Docs

Keyboard shortcuts

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 LinuxMac
Ctrl+,Cmd+,Open or close Settings
Ctrl+Shift+FCmd+Shift+FSearch every note in the folder
EscEscClose Settings, Search, a menu or a dialog
EnterEnterPress a dialog’s default button


Formatting


In a Markdown note.


Windows and LinuxMac
Ctrl+BCmd+BBold
Ctrl+ICmd+IItalic
Ctrl+Shift+XCmd+Shift+XStrikethrough
Ctrl+Shift+HCmd+Shift+HHighlight
Ctrl+ECmd+EInline code, or a code block around whole lines
Ctrl+KCmd+KLink
Ctrl+/Cmd+/Comment out the line or selection


Editing


Windows and LinuxMac
Ctrl+ZCmd+ZUndo
Ctrl+YCmd+Shift+ZRedo (Ctrl+Shift+Z too on Linux)
TabTabIndent, or nest a list item
Shift+TabShift+TabOutdent, or move a list item out a level
EnterEnterContinue a list or quote
Alt+UpOpt+UpMove the line up
Alt+DownOpt+DownMove the line down
Shift+Alt+UpShift+Opt+UpDuplicate the line, staying on the upper copy
Shift+Alt+DownShift+Opt+DownDuplicate the line, moving to the lower copy
Ctrl+Shift+KCmd+Shift+KDelete the line
Alt+LCtrl+LSelect the line
Ctrl+EnterCmd+EnterIn Markdown, start a new line below, wherever the cursor is in the line
Ctrl+clickCmd+clickFollow a link


Tables


In a Markdown table, with its source showing.


Windows and LinuxMac
TabTabNext cell; after the last cell, a new row
Shift+TabShift+TabPrevious cell
EnterEnterNew row below; on an empty last row, leave the table


Find


In the open note.


Windows and LinuxMac
Ctrl+FCmd+FFind
Ctrl+HCmd+Opt+FFind and replace
EnterEnterNext match
Shift+EnterShift+EnterPrevious match
Ctrl+GCmd+GNext match, from the note
Ctrl+Shift+GCmd+Shift+GPrevious match, from the note
EscEscClose Find


LaTeX


In a .tex file.


Windows and LinuxMac
Ctrl+EnterCmd+EnterCompile and show the PDF
EscEscBack from the PDF to the text
Ctrl+BCmd+B\textbf
Ctrl+ICmd+I\emph
Ctrl+ECmd+E\texttt
Ctrl+UCmd+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 LinuxMac
Ctrl+=Cmd+=Larger, or zoom in
Ctrl+-Cmd+-Smaller, or zoom out
Ctrl+0Cmd+0Back to the usual size, or fit
Ctrl+scrollCmd+scrollLarger or smaller as you scroll


File list


Windows and LinuxMac
F2F2Rename
DeleteFn+DeleteMove to the trash
RightRightOpen a folder
LeftLeftClose a folder


On a Mac


From the menu bar, as in other Mac apps.


Mac
Cmd+WClose the window
Cmd+MMinimize
Ctrl+Cmd+FFull screen
Cmd+HHide Deft
Cmd+QQuit