NORMAL ~/wkd/p/lib :set skin=modern utf-8

lib.nvim

Reusable Lua and Neovim helpers — one tested base under a whole set of plugins. Extracted from a private Neovim configuration so that personal plugins can share a single set of helpers as a dependency instead of each carrying its own copy. It has no third-party dependencies — only vim and itself.

status
beta — Beta stage — active development. This repository is past its first shape and in active use, but the surface is not frozen: breaking changes are still possible. Pin a commit or tag if you depend on it.
category
Foundation
neovim
0.11+
repo
github.com/WKDSteve/lib.nvim
commits
1271
help
:help lib

install

{
  "WKDSteve/lib.nvim",
  opts = {},
}

docs/

git log

  1. fix time.presets: dates(range, open) instead of guessing open from to == now
  2. fix time.presets: dates(range, now) keeps an open range's last day at midnight
  3. test cross.detached: check the fake-job case by name, not by register count
  4. feat time: lib.lua.time.parse and range words, one calendar for every plugin
  5. feat mcp.server: stdio MCP server with a tool registry, moved from docmap.nvim
  6. fix cross.detached: check the process start time so a reused pid is never ended
  7. fix net.github: a gh that never answers is a timeout, not a crash
  8. fix fs.helper: no "the file helper ended" warning when Neovim quits
  9. feat collect_recursive: gitignore = true for files_async, listed through lib.nvim.fs.fast
  10. feat fs: lib.nvim.fs.fast and lib.nvim.fs.helper, fast listings for every plugin
  11. test collect_skip: compare with globpath on exact-case names only
  12. feat fs.collect_recursive: skip() and files_with_ext() to replace globpath "**"

keys

j / k
next / previous line
gg / G
first / last line
⏎
open the line under the cursor
/
search plugins and apps (app: x or plugin: x narrows)
:
command line — Tab completes
:help x
vimdoc of a plugin (:e x = plugin page)
:ls · :apps · :play · :log · :stack
plugin list · app list · play area · activity stream · dependency graph
:log apps
the stream of one area (plugins or apps)
:colo x
colorscheme
:set skin=
modern | tui
?
this help
esc
close