heph.nvim: :Heph home — a base index/landing page for the zk
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:
Erich Blume 2026-06-02 11:14:12 -07:00
commit e99c284941
6 changed files with 62 additions and 1 deletions

View file

@ -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,