org.nvim

Match syntax (tags/properties)

Used by the agenda (m, M, custom commands), sparse trees and clocktables. The syntax is Emacs's `org-make-tags-matcher':

+work-bosshas work and not boss
work:bossboth tags (: and & are synonyms of +)
work|homeeither tag
{^proj}a tag matching a regexp
LEVEL>1property comparison: = == <> != /= < <= > >=
PRIORITY="A"string comparison; a missing property is ""
Effort<2numbers compare like `string-to-number': "1:30" is 1, a missing property is 0
Effort<*2starred operators (<* <=* =* >=* >* <>* !=* /=*) only match entries that have the property
CATEGORY={^work}regexp match on a property (<>, != and /= negate)
SCHEDULED<="<+2d>"date comparison: "<now>", "<today>", "<tomorrow>", "<+2d>", "<-1w>", "<+1m>", "<2026-01-01>"
+proj/NEXT|TODOTODO keyword part after /
+proj/!only entries that aren't done
/-DONEexclude a keyword
work/{^W}a regexp in the TODO part

Regexps in {...}' are written in Emacs syntax (\(...\)', \|', +', ?', \{m,n\}', [[:alpha:]]', \<', `\s-', ...), translated to Vim regexps, and ignore case, like Emacs. Text that does not start a new term ends the match, as in Emacs: "work -boss" is the same as "work" (write "work-boss").