GTD Queries - nvim-neorg/neorg Wiki

GTD Queries module

Summary

Gets tasks, projects and useful information for the GTD system.

Overview

Custom gtd queries, that respect the neorg GTD specs (:h neorg-gtd-format)

Usage

How to Apply

Configuration

No configuration provided

Developer Usage

Public API

This segment will detail all of the functions core.gtd.queries exposes. All of these functions reside in the public table.

Examples

Get all tasks and projets from buffer

local buf = 1 -- The buffer to query informations

local queries = module.required["core.gtd.queries"]

local tasks = queries.get("tasks", { bufnr = buf })
local projects = queries.get("projects", { bufnr = buf })

print(tasks, projects)

Extra Info

Version

This module supports at least version 0.0.8. The current Neorg version is 0.0.9.

Imports

Requires

Required by