Workflows/Find and revisit
Find and revisit
- Three moves cover most of finding things: jump to what you remember, follow the trail of links, and keep a search that's worth keeping. No syntax is needed up front. The exact rules live in Reference/Pages, links, references, and search.
"I saw it somewhere" — jump with Ctrl+K
- 1. Press Ctrl+K (Cmd on Mac) and type any words from the title or the text you remember. The switcher matches page titles and the visible text of blocks.
- 2. Too many hits? Narrow with the Search syntax forms listed in the switcher footer:
-draftexcludes a word,ORoffers alternatives, quotes pin an exact phrase,/…/is a case-sensitive regular expression. - 3. Enter opens the highlighted result; Shift+Enter opens it in the right sidebar beside your current page; Ctrl/Cmd+Enter or a middle-click opens it in a background tab without closing the search; Alt+Enter opens it in another pane.
- Click or tap a result to open it in the pane you were using. Commands (Ctrl/Cmd+Shift+P) works the same way: click or tap a command, or highlight it and press Enter. Search and Commands keep your focused split pane.
- Picking a slash command or a
[[page suggestion while editing also keeps that editor's split pane focused. - 4. Sure it's on the open page? Ctrl+Shift+K searches only that page's blocks, and Ctrl+F searches the open main and split panes plus the right sidebar, in pane order then sidebar order. Its slim find bar shows match counts and expands folded branches to show a match. The arrow at its left opens Replace with: Replace changes the highlighted match, Replace all every match on that page, as one Undo step. On a phone, open it from the page's ⋯ menu → Find in page.
- Select a single line of text in a block editor or rendered content, then press Ctrl/Cmd+F: Find opens with the selected text and highlights the first match. With no selection or a selection spanning lines, it keeps your previous query.
- In Journals, Find and Replace search loaded days only; “N older days not searched — search all journals” counts retired days and opens graph-wide search with the same query.
- If the switcher cannot read results, choose Retry to run the same search again without clearing what you typed.
- What you should see: Tine jumps to the page or block. Exact title matches lead the list; over time Tine may prefer a result you deliberately picked before, but only among equally strong matches — Settings → Editor → Advanced → Learn Ctrl+K choices disables that, and Reset ranking clears it.
Follow the trail: links, tags, and references
- 1. Click any
[[link]]or#tagto open its page. A link to a page that does not exist yet isn't broken — opening it gives you an empty page that is saved once you type in it. Linking[[foo]]and[[Foo]]always reaches one page. While editing, Ctrl+O follows the link at the caret and Ctrl+Shift+O opens it in the right sidebar. - 2. On the page you reach, scroll to Linked References: every block that points here, grouped by source page, with a filter (the funnel button) to narrow to blocks that also mention something else. Open Unlinked References to catch plain-text mentions you never linked.
- Click an ancestor in a Linked References or Unlinked References breadcrumb to show that ancestor and its subtree inline, without leaving the page. The ancestor opens while collapsed descendants stay folded. Shift+click opens the ancestor in the right sidebar instead. This context is temporary: leaving and returning resets it. Breadcrumbs become clickable once the source page has loaded.
- 3. Need several references outside Tine? Use the copy/export button on Linked References or Unlinked References. Every visible entry starts selected; uncheck a subset, then use the ordinary Text / OPML / HTML export choices. Linked References honors the text and chip filters already applied.
- 4. Found a line worth quoting in your own note? Edit the note, type
((, and search the line's text to insert a block reference — a live copy that updates whenever the original changes. - The
((picker says Searching blocks… while reading, offers Retry if the read fails, and says No matched blocks only after a successful empty search. Retry keeps your text; Escape closes the picker. - What you should see: the reference renders as link-styled text with the source's current words, and the source block gains a small reference-count badge that lists its referrers.
Open a note from another app
- Choose Copy link in a graph's menu or a block's context menu, or Copy as ▸ → Copy link in Page actions, then paste the
tine://address into a task manager, calendar, chat, bookmark, or another note. Copy as ▸ also offers page references; a block's context menu lists Copy block ref and Copy block embed beside Copy link. A block link uses its saved ID alone and survives moving the block to another page. - The first copy stores a small graph ID in
logseq/tine-graph-id; copying a block also saves its ordinaryid::property. Browsing and opening links never create IDs, pages, blocks, or captured content. - Links work with Tine closed or already running. A page or block opens in a new tab of the focused pane in its graph's window. A missing graph or target shows an error. After moving or renaming a graph folder, open that folder once so Tine knows its new location. If two known folders are copies of one graph, choose which to open; Tine remembers that choice on this device.
Keep what matters close: Favorites
- 1. Favorite a page from its title: the star beside the title (or Page actions → Add to favorites). It appears under Favorites in the left sidebar and remains in Logseq's ordinary flat
config.edn :favoriteslist. - 2. Choose + New group, type a plain-text name, and drag a favorite onto it. Drag right to nest under the preceding row, left to lift out, or vertically to reorder without changing depth. Groups and favorites can both contain children. In the left sidebar the whole row is the link, so a short name is still an easy target — a row is reordered by dragging it, and a drag only has to move a few pixels to stop counting as a click. In the right sidebar, where items are parked pages rather than a navigation list, only the title itself opens the page and the rest of the row is there to grab.
- 3. Collapse any row that has children. Delete a group when you no longer need the label: what it held moves up one level and stays favorited.
- 4. Prefer the keyboard? Open the arrangement page Tine created, named Favorites. A bullet that is exactly one
[[page link]]is a page favorite; a((uuid))row is a block favorite; other bullets are labels. Editing, nesting, adding, or removing those bullets updates the sidebar after saving. - Right-click a block and choose Favourite block to add a
((uuid))row to Favorites. Tine saves anid::on the source first if it needs one. The sidebar shows the block's content; clicking zooms into that block, and Shift-click opens it in the right sidebar. Block favorites stay in the ordinary Favorites page, with a derived star on references from that page; they never addfavorite::properties or block entries toconfig.edn :favorites. Remove its row from Favorites to stop favoriting it. - What you should see: the richer tree follows page renames and lives in an ordinary graph page, while Logseq continues to read the same flat favorites membership. Tine does not create the arrangement page until you make a group or nest a row.
Keep the search: make a search tab
- 1. From any Ctrl+K search, press Open search tab in the footer. The whole search becomes its own tab with its own search box — nothing is written to your graph yet, and the tab comes back after a restart.
- 2. Refine it there: switch Search / List / Table / Board freely — that changes only how results are shown, never which blocks matched. Open Filters / Advanced for all words, any words, an exact phrase, excluded words or a regular expression, or Edit as visual query to edit the conditions one row at a time; Explain query describes what Tine understood.
- 3. A text search answers two questions at once, so the results arrive in two sections: Pages and Blocks, in that order, each with its own count and its own control — Display pages and Display. Set the pages as a table of their own properties and leave the blocks as a list if that is what you want. A section with nothing in it says so ("No matching pages." / "No matching blocks.") and keeps its control.
- 4. Pages match beside the Pages section decides which pages count as matches at all: Names and aliases (the default), Block content — a page counts when one of its own blocks matches — or Names or content. It changes page membership only; the Blocks section still lists the blocks that matched, whichever you pick.
- 5. Worth keeping? Type a name into Name this search to save it as a page and press Save page.
- 6. What you should see: the tab becomes an ordinary page in your graph holding one query block (with
tine.*lines for the view and display choices). You can link to it, favorite it, and its results refresh themselves; an existing page with the same name or alias is never overwritten. The saved block shows one results list with a single Display control, so the two-section split stays in the search tab.
Try it: find every mention of one page
- 1. Text search finds visible words. A page query asks a different question: "which blocks connect to Project/Roadmap?" — written as the page's name inside a query, like this live example:
- Query 7
- Project / Roadmap
- This page lives in the Project namespace, and it doubles as the target for the reference and the embed over on Welcome to Tine.
- Tine round-trips your files byte-for-byte, so you can always switch back to Logseq — nothing here is one-way.
- See the little count badge on the bullet above? That's how many blocks reference it — click the badge to see them.
- A few example tasks
- DOING Write my first real note in Tine
- TODO Set up the quick-capture hotkey — see Features/Quick capture
- TODO Open my own Logseq graph and look around
- A name with slashes, like Project/Roadmap, is a namespace: it nests under
Projectin the sidebar's collapsible namespace tree, and a namespaced page gains an automatic Hierarchy section listing its descendant pages. - Project/Roadmap — try a few example tasks for your first steps.
- Links: type
[[to link a page or#for a #tag; a suggestion that is an alias is labelled alias of its page. Here's a link to Project/Roadmap — click it. - 1. Text search finds visible words. A page query asks a different question: "which blocks connect to Project/Roadmap?" — written as the page's name inside a query, like this live example:
- 2. What you should see in a copied Guide or the public demo: the Roadmap outline itself (a block always counts its own page, and a nested bullet counts whatever its parents mention), the bullets elsewhere in the Guide that link there — Welcome to Tine has one — and this numbered bullet, which links too. In this read-only Guide the same block runs against your own graph instead, so it lists your pages' mentions — often nothing yet; it comes alive after you copy the Guide into your graph.
Read a query, then edit it
- To insert a query, type /query and choose Query. It opens the query sheet on its empty condition list; press + Add condition to choose the first field.
- 1. At rest a query shows its title, result count and results. Click the title to rename it. Hover or focus reveals ⋯; touch screens show the menu without hover.
- 2. Open ⋯ → Edit for the inline builder: Find blocks ▾ where … and one row per condition. + Add condition adds one. The real results remain below the editor as your live preview. An empty new query asks you to add a condition.
- 3. Both + Add condition and a row's
field ▾open the same list, and that list is your graph: the built-in fields first, then every property key you actually use, each with the type Tine has observed. Type to narrow it. A key the list does not already show is offered by name at the bottom — Use "…" as a block property and, on a block query, Use "…" as a page property — so a key the graph does not have yet, and a key it has only on pages, both stay writable. - 4. Change blocks to pages and Tine re-reads the whole query before changing anything. If conditions stop applying —
taskmeans nothing for a page — it says how many, names them, and offers Remove them, Keep anyway, or Cancel. Kept conditions stay as red rows with their reason, so nothing disappears behind your back. 5. Group rows when a query needs a branch. Tick the boxes of two or more rows in the same list, press Group selected ▾, and choose All of, Any of or None of: they become one group where the topmost ticked row was, and the rows you did not tick stay exactly where they were. A single row's ⋮ offers Group with row above with the same three choices. Ticking only ever selects rows of ONE list, so grouping never quietly carries a condition out of the group it was written in; a condition changes group only when you drag it there (see 7). A group's ⋮ Ungroup puts its rows back exactly as they were. Very deeply nested queries fold into one
⟨advanced⟩row: still saved, still run, and still something you can tick, move, disable and remove. Press that row and Tine opens the query text (Edit as text at the foot of the sheet) with your cursor in it, which is where the part the rows cannot draw is edited.- If Ungroup is absent, the group has a wrapper that cannot be removed without changing its meaning. For a none of group, choose Remove none of first; for a disabled group, switch the group on first. These are changes to which results match, so make them only when that is what you intend.
- 6. Turn a condition off instead of deleting it. The enabled switch at the end of a row — and the one on a group's header — keeps the condition in the query and stops it running, so a query can be narrowed and widened without losing the words you wrote. When the group above it is off, a row says disabled by group, because switching that one row on by itself would not bring it back.
- 7. Reorder with the ⋮⋮ handle by dragging; the row's ⋮ has Move up and Move down as well. Drop the handle onto another group to move the condition into it; a group left with one condition dissolves into the list around it.
- 8. That list of your graph's own keys is one read Tine makes when the sheet opens. While it is still reading, the list says Reading this graph's properties… and the built-in fields below it stay usable. If that read fails instead, the list says what failed and offers Try again.
- Press Done (bottom right) or Escape to close the inline editor and leave the title, count and results. The block on disk is still an ordinary
{{query}}bullet. ⋯ → View chooses the presentation; Copy results keeps page/date titles and hierarchy in the shared export dialog; Collapse all / Expand all is one toggle that folds List result trees through their ordinary source properties. Open in Search opens the query in a Search tab, with its view and result kinds. Edit as text is Tine's reading of the query, written in the language below, rather than a copy of the block's Logseq bytes.
Query text (TQL)
- 1. Open ⋯ → Edit as text for the query text. It is the same query the builder shows, written out and always editable. Type in it and Tine re-reads it as you go; press Save query text to make it the block's query.
- 2. The language is SQLite's expression syntax over a small fixed vocabulary. A query is
@blockor@page— which kind of row you are asking about — and then conditions joined withand,or,notand brackets: @block and task = 'TODO' and [[Project/Roadmap]]- 3. The vocabulary, in full. On a block row:
content,task,priority,scheduled,deadline. On a page row:name,journal,namespace.[[Page name]]and#tagare page references;prop('key')is a property;page.namereaches the block's own page. The comparisons are=,!=,<,<=,>,>=,like(with%wildcards),match(full-text),between … and …,in (…), andis null/is not null. @block and prop('cost') > 100 and scheduled between today and '+7d'- 4. Three forms are Tine's own.
any(children, …)andevery(prop('tags'), …)ask about the things a row contains — a block's children, a page's blocks, a key's values.off(…), or a line beginning--, keeps a condition in the query without running it. Andtag('x')andpage_tag('x')spell out what#xmeans on each kind of row. - 5. Outline conditions use
any,none, oreveryoverparent(direct parent),ancestors(all parents above),children(direct children), ordescendants(all blocks below, at any depth). The condition inside binds to each related block; the result is the anchor block. The anchor itself and the owning page are excluded. With no related blocks,anyis false andnoneandeveryare true. - For example, find an action mentioning a budget under a project whose branch contains an approved item:
@block and content match 'budget -draft' and any(ancestors, content match 'project') and any(parent, any(descendants, content match 'approved'))content matchaccepts the same words,OR, exclusions, quoted phrases and/regex/as search. Combine conditions on ancestors and descendants to search both directions. These relations belong to TQL; ordinary quick-search syntax and the result layout stay as before.- What you should see: an unknown word is named, not swallowed. When the message comes with a place in the text, a Show me button beside it selects exactly that much of what you typed. A query with a word Tine could not read returns no results — its result area says "Tine didn't understand part of this query, so it returned no results" — rather than quietly running a shorter query.
Property types
- 1. A property key means more when Tine knows what its values ARE. Open a property in Edit as visual query and Tine names the type it has observed across your graph —
text,number,date,checkbox, orref(a page link) — and sayslist of …when the key normally holds several values at once. - 2. Observation can be wrong, and an empty key has nothing to observe. Choose declare type… on the property and pick the type yourself; tick list of when the key is meant to hold several values. The declared type is then the one Tine uses.
- 3. A declaration is an ordinary page property, written as
tine.type:: numberon the page named after the key — and the name is the key's normalized form, so a property writtendue date::declares on the pagedue-date. Tine writes that line for you; if you type it yourself, use that spelling or nothing binds. Choose remove declaration to delete the line and go back to what Tine observes. - 4. The type decides which comparisons you are offered:
isandis notfor a checkbox or a page link,before,afterandbetweenfor a date,<,≤,>,≥for a number,containsandstarts withfor text. On alist of …key the equality operator readscontains this value, because the test is against the list. - What you should see: the property shows one type marked observed or declared and, once you declare one, a count of the blocks or pages that do not match it. That count is a to-do list, not an error: the query still runs.
When a query needs Tine features
- 1. Some queries you can build have no
{{query}}spelling at all: grouping, column totals, and typed comparisons like "cost > 100" are Tine's, not Logseq's. When you save one, Tine changes the block's macro name fromquerytotine-queryand moves the view choices — view, sort, group, columns, column totals, sample — intotine.*properties on the same block. - 2. Tine says so when it happens, in a notice under the query: This query now uses Tine features Logseq can't read. Take Undo that change to put the block back exactly the bytes it had, or Keep it to go on. Nothing else on the page is touched either way.
- 3. Nothing is lost in Logseq. The block stays ordinary Markdown and the
tine.*lines stay ordinary properties; Logseq simply shows the bullet as the plain text it is instead of running it. Everything else on the page keeps working there. - 4. Don't show this again stops the notice. That choice is kept on this device, never in the graph, so it does not follow you to another machine.
- What you should see: the block still renders and refreshes in Tine as it did a moment ago; only its first line and its properties changed. Undo is the ordinary undo, so Ctrl+Z does the same thing as the button for as long as it is the newest change.
Advanced queries
- A hand-written advanced query stays editable as text. A
{{query {:query …}}}or#+BEGIN_QUERYblock runs only when Tine can read every clause of it; otherwise it is refused whole ("Advanced (datalog) query not run") and the notice names the clauses Tine could not run, rather than show a wider answer than you asked for. - Tine runs Logseq's query rules (
task,priority,property,page-ref,betweenand the others) and the attribute patterns written on the block the query returns: its marker, priority, scheduled and deadline dates, and whether its page is a journal and which day, alone or narrowed bycontains?,=,not=,<,<=,>or>=, and insidenot. For example[:find (pull ?b [*]) :where [?b :block/marker ?m] [(contains? #{"NOW" "DOING"} ?m)]]lists what you are working on now. - A part Tine does not understand refuses the whole query: it never runs half of it, because a partial answer could both add and hide blocks. A
:result-transformfunction (other than Logseq's default priority sort), authored rules or an unsupported input is such a part. Common page/tag string inputs and numeric or relative date windows run; Reference/Tine query model lists the supported shapes.
Where next
- The exact rules — ranking, search scope, saved-page behavior — are mapped in Reference/Pages, links, references, and search. For turning found or structured blocks into tables and boards, see Workflows/Structure repeated information; the wider shortcut map is Features/Tips & shortcuts.