generated from eblume/project-template
heph.nvim: :Heph home — a base index/landing page for the zk
Some checks failed
Build / validate (pull_request) Failing after 5m3s
Some checks failed
Build / validate (pull_request) Failing after 5m3s
A single designated "home" doc (open-or-create by title, configurable via opts.home, default "Home") — a stable landing page to grow a map of content around. e2e covers create-on-first-open + idempotent reuse. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9249ca46a1
commit
e99c284941
6 changed files with 62 additions and 1 deletions
|
|
@ -9,6 +9,10 @@ local ATTENTIONS = { "white", "orange", "red", "blue" }
|
|||
--- subcommand -> handler(args: string[])
|
||||
M.subs = {
|
||||
-- knowledge base
|
||||
home = function()
|
||||
local cfg = require("heph").config or {}
|
||||
require("heph.home").open(cfg.home)
|
||||
end,
|
||||
today = function()
|
||||
require("heph.journal").open()
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue