Keyboard shortcuts
Every shortcut Leafbind has, grouped by what you are doing. Where a shortcut also appears in a menu, the menu item is named, so you can find it again without the keyboard.
Projects and documents
Section titled “Projects and documents”| Keys | What it does | Also in |
|---|---|---|
| Ctrl+N | New scene, placed right after the one you have selected. In the wiki, a new wiki entry | File → New scene… (named in your own word, such as New chapter…), or File → New wiki entry… in the wiki |
| Ctrl+Shift+N | Start a new project | File → New project… |
| Ctrl+O | Open a project folder from anywhere on disk | File → Open project folder… |
| Ctrl+Shift+P | Go to a project in your workspace folders | File → Go to project… |
| Ctrl+P | Go to any document in the open project, by name | File → Go to document… |
| Ctrl+Shift+F | Search the text of every document in the project | Edit → Find in project… |
| Ctrl+Shift+Alt+F | Search every project in your workspace folders | Edit → Find in all projects… |
| Ctrl+S | Save now | File → Save |
| Ctrl+E | Export the project as an EPUB. It saves first, then shows what it will make and where it goes | File → Export → EPUB… |
| Ctrl+W | Close the open document, in the editor and the preview, and stay in the project | File → Close scene (named in your own word, or Close wiki entry on the Wiki tab) |
| Ctrl+Shift+W | Close the project and return to the start screen | File → Close project |
| Ctrl+Q | Quit Leafbind | File → Quit |
| Ctrl+, | Open this project’s details and settings. On the start screen, where no project is open, it opens Preferences and Settings instead | The project’s name in the toolbar → Project details & settings… |
| F12 or Ctrl+Shift+, | Open Preferences and Settings: Leafbind’s own, for every project. On a keyboard layout where Shift and the comma key type a character of their own, such as Neo or AdNW, use F12 | File → Settings → Preferences and Settings…, or ⚙ in the toolbar |
Leafbind saves as you type, so Ctrl+S is never required. It is there for the habit, and it saves at once instead of a moment later.
Ctrl+N does nothing inside a locked folder, because a locked folder takes no new scenes.
In a separate corkboard or publishing window, Ctrl+W closes that window only. The other shortcuts on this page work there too: they act in the main window, which comes to the front. Ctrl+Q works in the main window only.
Closing the main window with its ✕ quits Leafbind, and takes an open corkboard window with it. The corkboard’s own ✕ closes just the corkboard. Either way your words are written first.
The menus
Section titled “The menus”| Keys | What it does |
|---|---|
| Alt | Puts the focus on File in the menu row, without opening it. Press Alt again to go back to your text |
| Alt+F | Opens the File menu |
| Alt+E | Opens the Edit menu |
| Alt+V | Opens the View menu |
While Alt is held, the letter that opens each menu is underlined: File, Edit, View.
With the focus in the menu row, ← and → move from menu to menu, and ↓ or Enter opens the one you are on. In an open menu, ↑ and ↓ move through its entries, Home and End jump to the first and last, and Enter runs the entry. → opens a submenu such as Open recent, and ← closes it again. Greyed entries are skipped.
Esc closes the open menu. Esc again leaves the menu row and puts you back in your text, as Alt does.
Moving around
Section titled “Moving around”| Keys | What it does |
|---|---|
| Alt+Shift+↓ | Next scene, in reading order |
| Alt+Shift+↑ | Previous scene. You land at its end, so you can read on from where it stops |
| F1 | Help: opens this documentation. In versions before the documentation went online, it opens the ? menu instead |
Alt+Shift+↑ and Alt+Shift+↓ work in the manuscript, in both editing and preview. They skip any scene set to Left out of copies and exports in its properties, and they stop at the first and last scene rather than wrapping round.
In Go to document and Go to project, use ↑ and ↓ to move through the list, Enter to open, and Esc to close. Both open with your recent documents or projects at the top, leaving out the one you have open, so pressing Enter straight away takes you back to the one before. The one you have open is in the list below, marked current.
The window and what is on screen
Section titled “The window and what is on screen”| Keys | What it does |
|---|---|
| Ctrl+T | Show or hide the manuscript tree |
| Ctrl+Shift+T | Show the properties panel, or hide it when that is what it shows |
| Ctrl+Shift+H | Show or hide the document header |
| Ctrl+J | Show or hide the bottom panel: the corkboard or the publishing panel, whichever you used last |
| Ctrl+Shift+D | Show the bottom panel on the publishing panel, or hide it when that is what it shows |
| Ctrl+D | Open the progress dashboard |
| Ctrl+1 | Edit: the editor on its own |
| Ctrl+2 | Split: the editor and the preview together |
| Ctrl+3 | Preview: the preview on its own |
| Ctrl+4 | Book: the chapter you are in, as the published book will set it |
| F11 | Distraction-free mode, full screen. Press again to leave |
| Shift+F11 | Extended focus mode: full screen, with only a few lines around the cursor |
| Esc | Leave either focus mode |
| Ctrl+= or Ctrl++ | Make the text larger |
| Ctrl+- | Make the text smaller |
| Ctrl+0 | Return the text to its default size |
Both focus modes take the marks off your text as well as the panels around it. Misspellings and stray spaces are no longer underlined, and a suggested edit keeps its colours but loses its ✓ and ✗. They all come back when you leave. Quotes and dashes still turn curly as you type, so the text comes out the same whichever mode you wrote it in.
The focus modes hide the toolbar, but Ctrl+1, Ctrl+3 and Ctrl+4 still switch between writing and reading. Distraction-free mode shows one pane at a time, so Ctrl+2 does nothing there. Extended focus mode always shows the editor, because its lines follow the cursor: Ctrl+3 steps back to distraction-free mode to show the preview, and Ctrl+2 and Ctrl+4 do nothing. When you leave a focus mode, the window keeps the mode you switched to last, and the tree scrolls to the document you’re in, opening the folders around it.
Holding Ctrl in a focus mode doesn’t underline the names your wiki knows, and Ctrl-click is an ordinary click there: the Reference tab that would show the entry is hidden with the rest of the bottom panel.
The text-size keys change the size of everything in the window, from the prose to the menus. The panels keep their width; what is inside them gets larger or smaller.
Every one of these panels, the editing mode (Edit, Split, Preview, Book) and zoom are also in the View menu.
Book shows the chapter of the scene you have open as the EPUB export will set it: its heading, the large first letter if you have one, the breaks between scenes, in a column about as wide as an e-reader’s page. It opens at your scene. Alt+Shift+↓ and Alt+Shift+↑ move from scene to scene and on to the next or previous chapter. Alt+Shift+↓ leaves the scene break and the last line of the scene before showing above the new scene, so you can see you are at its start. Alt+Shift+↑ lands at the end of the scene before, with the break and the first line of the scene after below it, so you read on backwards from where it stops. When you leave Book, or leave full screen while reading in Book, the scene you were reading is the one that opens. To see where you are as you read, turn on Show where you are under the preview in Preferences and Settings: a line under Preview and Book names the chapter, the scene and its file.
The help window has a size of its own. In it, Ctrl+= and Ctrl+-, or Ctrl with the mouse wheel, make the help larger or smaller without touching your manuscript, and Leafbind remembers the size. Ctrl+0 returns it to your text size.
Resize a panel by dragging the line between it and its neighbour: the tree, the properties panel, the line between the editor and the preview in Split, and the top edge of the bottom panel. Leafbind remembers the sizes. Double-click a line to put it back where it started. From the keyboard, Tab to the line, move it with the arrow keys, and press Home to reset it. A panel can’t be dragged away completely; to hide one, use the keys above.
Writing
Section titled “Writing”| Keys | What it does |
|---|---|
| Enter | Start a new paragraph |
| Backspace / Delete at a paragraph’s edge | Join two paragraphs back together |
| Ctrl+I | Italics for the selected words, or for the word the cursor is in. Press again to take them off |
| Ctrl+B | Bold, the same way |
| Ctrl+Shift+M | Leave a note at the cursor |
| Ctrl+Shift+E | Add a story event at the cursor |
| Ctrl+F | Find in the current document. The find bar stays open while you step to the next or previous match, and opens with your last search selected |
| Ctrl+Z | Undo |
| Ctrl+Y or Ctrl+Shift+Z | Redo |
| Ctrl+Shift+V | Paste exactly as copied, without changing quotes and dashes |
One Enter is a whole new paragraph. Leafbind writes the blank line that separates paragraphs in the file for you, and Backspace or Delete removes it again in one keystroke.
Ctrl+I and Ctrl+B write the asterisks for you: *italics* and **bold**, which the preview shows as italics and bold. Use both for bold italics, and either again to take its half off. You can also type * or _ with words selected: it goes on both sides and the words stay selected, so typing it twice makes them bold and three times both. Italic and Bold are on the right-click menu as well.
Leafbind turns straight quotes into curly ones and double hyphens into dashes as you type. If it changes something you meant literally, Ctrl+Z straight away undoes just that change and keeps what you typed.
There is no Replace yet, only Find. Ctrl+H is deliberately left unassigned, so that it cannot do something unexpected before Replace exists.
All of these, and Cut, Copy, Paste and Select all, are also in the Edit menu, together with the next and previous suggestion and misspelling, Fix whitespace and Smartify punctuation. In Preview and Book, where there is no editor, Edit → Copy copies what you have selected on the page.
On the start screen
Section titled “On the start screen”| Keys | What it does |
|---|---|
| F5 or Ctrl+R | Reload Leafbind, if the start screen did not load properly |
These two keys only reload on the start screen. With a project open they do nothing, so you cannot lose unsaved text by pressing one by accident.