Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
nnote 0.3.4 documentation
nnote 0.3.4 documentation

Commands

  • nnote init
  • nnote new
  • nnote view
  • nnote edit
  • nnote list
  • nnote drop
  • nnote move
  • nnote backup
  • nnote search

Reference

  • Configuration
  • Shell completion
Back to top
View this page

nnote searchΒΆ

nnote search <query> [-d <dir>] [-n <limit>] [--title-only | --content-only]

Search notes by title and content. Results are ranked by relevance: exact title matches score highest, followed by prefix/substring/fuzzy title matches, then content hits. Matched terms are highlighted in the output.

Use -n / --limit to cap the number of results shown.

Use --title-only to restrict results to notes whose filename matched the query. Use --content-only to restrict results to notes with matching lines in their body. The two flags are mutually exclusive.

nnote search meeting
nnote search budget -d work
nnote search todo -n 5
nnote search api --title-only
nnote search TODO --content-only -n 10
work/meeting [title]
  3: discussed the project budget
  7: next meeting on friday
Next
Configuration
Previous
nnote backup
Copyright © 2026, Agil Mammadov
Made with Sphinx and @pradyunsg's Furo