Search and keyboard shortcuts
There are two ways to find a note. The quick switcher is for when you know what a note is called: it searches titles and paths, instantly. Search is for when you’ve forgotten where you wrote something: it looks inside every note.
Jumping to a note
Section titled “Jumping to a note”Select Jump to… in the top bar, or press Ctrl+K (⌘K on a Mac) on any page.
- Start typing part of a note’s title or path. Notes whose title matches exactly come first, then titles that start with what you typed, then titles that contain it, then paths.
- Use ↑ and ↓ to move through the results.
- Press Enter to open the one you’re on, or select it.
Esc, or clicking outside the box, closes it. With nothing typed it shows the first dozen of your notes.
The last line, Search inside notes for “…”, takes what you’ve typed to the full search page.
The quick switcher is only there when you’re logged in, and it always searches your own notes.
Searching inside notes
Section titled “Searching inside notes”The search page is at /your-name/-/search. Type in Search your notes… and select Search.
- Every word you type has to be in the note, in its title or body. The last word also matches the start of longer words, so
embrofinds embroidery. - Different forms of a word match each other:
stitchingfinds notes that saystitchorstitches. - Punctuation and words like
ANDandNOTare just searched for, never treated as commands. - Notes whose title matches rank above notes that only mention your words in passing.
Each result shows the note’s title, its path and a short extract with your words highlighted, up to 40 results. When it’s your own notebook, the count says including private notes. If nothing matches, you’ll see Nothing matches “…”.
Searching within a tag
Section titled “Searching within a tag”When you have tags, they’re listed under the search box, starting with Any tag. Select one to see only the notes carrying that tag. What you’ve typed is kept, so you can pick a tag before or after you search. The count then says tagged #…. If nothing in that tag matches, you’ll see Nothing matches “…” in #…., with Search every tag to drop the filter.
This is different from searching for the word: a search for daily finds notes that mention it, while choosing #daily finds notes tagged with it.
Visitors can search a notebook too, at the same address, and only ever find the public notes.
Keyboard shortcuts
Section titled “Keyboard shortcuts”Press ? on any page (except while you’re typing), or select Keyboard shortcuts in the top bar, to see the full list. Esc closes it. The list is only there when you’re logged in.
On Windows, Linux and ChromeOS, Ctrl does what ⌘ does on a Mac.
Anywhere
Section titled “Anywhere”| Keys | What it does |
|---|---|
| Ctrl+K / ⌘K | Jump to a note |
| ? | Show the shortcut list |
| Esc | Close whatever is open |
In the quick switcher
Section titled “In the quick switcher”| Keys | What it does |
|---|---|
| ↑ | Up the results |
| ↓ | Down the results |
| Enter | Open the one you are on |
In the note list
Section titled “In the note list”These work in the tree when you order your notes by hand rather than alphabetically.
| Keys | What it does |
|---|---|
| Alt+↑ | Move a note up past its sibling |
| Alt+↓ | Move a note down past its sibling |
On a wide screen, with the tree’s edge focused (Tab to it), these change the tree’s width. See The tree.
| Keys | What it does |
|---|---|
| ← / → | Make the tree narrower or wider |
| Shift+← / Shift+→ | The same, in bigger steps |
| Home | Put the tree back to its usual width |
Writing a note
Section titled “Writing a note”| Keys | What it does |
|---|---|
| Ctrl+B / ⌘B | Bold |
| Ctrl+I / ⌘I | Italic |
| Ctrl+Shift+S / ⌘Shift+S | Strikethrough |
| Ctrl+E / ⌘E | Inline code |
| Ctrl+Alt+1 to 6 / ⌘Alt+1 to 6 | Heading, levels 1 to 6 |
| Ctrl+Alt+0 / ⌘Alt+0 | Back to ordinary text |
| Ctrl+Shift+8 / ⌘Shift+8 | Bulleted list |
| Ctrl+Shift+7 / ⌘Shift+7 | Numbered list |
| Ctrl+Shift+B / ⌘Shift+B | Quote |
| Ctrl+Alt+C / ⌘Alt+C | Code block |
| Ctrl+Z / ⌘Z | Undo |
| Ctrl+Shift+Z / ⌘Shift+Z | Redo |
Typing in a note
Section titled “Typing in a note”Type one of these characters and a menu opens where the caret is.
| Keys | What it does |
|---|---|
| @ | Link to another note |
| # | Add a tag |
| / | Insert a heading, list, table… |
| ↑ / ↓ | Choose from the menu |
| Enter | Insert it |
| Esc | Dismiss the menu |
