Skip to content

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.

Select Jump to… in the top bar, or press Ctrl+K (⌘K on a Mac) on any page.

  1. 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.
  2. Use ↑ and ↓ to move through the results.
  3. 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.

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 embro finds embroidery.
  • Different forms of a word match each other: stitching finds notes that say stitch or stitches.
  • Punctuation and words like AND and NOT are 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 “…”.

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.

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.

Keys What it does
Ctrl+K / ⌘K Jump to a note
? Show the shortcut list
Esc Close whatever is open
Keys What it does
↑ Up the results
↓ Down the results
Enter Open the one you are on

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
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

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