{"id":51886848,"url":"https://github.com/jtprogru/pack-ui.nvim","last_synced_at":"2026-07-25T22:01:31.402Z","repository":{"id":369755435,"uuid":"1291386013","full_name":"jtprogru/pack-ui.nvim","owner":"jtprogru","description":"Floating-window UI for Neovim's built-in vim.pack plugin manager — status overview and mark-driven, pointwise updates (Neovim 0.12+)","archived":false,"fork":false,"pushed_at":"2026-07-14T14:49:00.000Z","size":71,"stargazers_count":30,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-07-14T16:32:20.772Z","etag":null,"topics":["lua","neovim","neovim-lua","neovim-plugin","neovim-ui","nvim","package-manager","plugin-manager","vim-pack"],"latest_commit_sha":null,"homepage":"https://jtprogru.github.io/pack-ui.nvim/","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtprogru.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-07-06T18:51:21.000Z","updated_at":"2026-07-14T14:49:33.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/jtprogru/pack-ui.nvim","commit_stats":null,"previous_names":["jtprogru/pack-ui.nvim"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jtprogru/pack-ui.nvim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtprogru%2Fpack-ui.nvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtprogru%2Fpack-ui.nvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtprogru%2Fpack-ui.nvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtprogru%2Fpack-ui.nvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtprogru","download_url":"https://codeload.github.com/jtprogru/pack-ui.nvim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtprogru%2Fpack-ui.nvim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35894020,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-25T02:00:06.922Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["lua","neovim","neovim-lua","neovim-plugin","neovim-ui","nvim","package-manager","plugin-manager","vim-pack"],"created_at":"2026-07-25T22:01:30.656Z","updated_at":"2026-07-25T22:01:31.384Z","avatar_url":"https://github.com/jtprogru.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pack-ui.nvim\n\nA floating-window UI for Neovim's built-in [`vim.pack`](https://neovim.io/doc/user/pack.html) plugin manager (Neovim 0.12+).\n\nOne window shows the read-only state of every managed plugin and lets you apply updates **pointwise** (mark the rows you want, then `u`) or **all at once** (`U`).\n\n📖 **Documentation:** \u003chttps://jtprogru.github.io/pack-ui.nvim/\u003e\n\n## Why\n\n`vim.pack` ships two update flows: `vim.pack.update()` opens a review buffer in a separate tabpage, and `vim.pack.update(nil, { force = true })` updates everything with no review. This plugin puts both — plus a status overview — behind a single, mark-driven floating window.\n\nUpdate *detection* (which plugins have new commits, and the changelog) is computed with plain `git`, because `vim.pack` exposes no API for it without opening its tabpage buffer. Detection is display-only and best-effort; the actual apply always goes through `vim.pack.update(names, { force = true })`, which owns version resolution and the lockfile.\n\n## Commands\n\n| Command | Behaviour |\n| --- | --- |\n| `:PackStatus` | Read-only overview, no network. Press `r` inside to check remotes. |\n| `:PackUpdate` | Opens the window and checks for updates; you apply what you mark. |\n| `:PackUpdateAll` | Opens the window, checks, and applies every available update. |\n\n## Keymaps (inside the window)\n\n| Key | Action |\n| --- | --- |\n| `\u003cSpace\u003e` / `\u003cTab\u003e` | Toggle the mark on the current row |\n| `a` | Mark / unmark all |\n| `u` | Update marked rows (or the row under the cursor) |\n| `U` | Update all rows with available updates |\n| `r` | Re-check remotes |\n| `\u003cCR\u003e` / `K` | Show changelog / details for the plugin under the cursor |\n| `q` / `\u003cEsc\u003e` | Close |\n\nEvery in-window key is configurable via `keymaps.window` — see [Configuration](#configuration).\n\nA column header row labels every field: a mark box, a status glyph, `●`/`○` (active in this session or not), the plugin name, the revision, and a trailing version/status column. Rows that have an update are grouped under an `── updates available ──` section at the top of the list (with the rest under `── up to date ──`) after a check, and each is shown in bold. An updatable row spells the change out as `current → latest` — a semver tag for version-tracked plugins (e.g. `v0.9.0 → v1.0.0`), a short sha otherwise — followed by the `N new` commit count.\n\n## Install\n\nRequires Neovim 0.12+ (`vim.pack`).\n\nWith `vim.pack` itself:\n\n```lua\nvim.pack.add({ { src = \"https://github.com/jtprogru/pack-ui.nvim\" } })\n```\n\nOr as a native package (no manager):\n\n```sh\ngit clone https://github.com/jtprogru/pack-ui.nvim \\\n  ~/.config/nvim/pack/local/start/pack-ui.nvim\n```\n\nThe commands register automatically on startup. `setup()` is optional.\n\n## Configuration\n\n```lua\nrequire(\"pack_ui\").setup({\n  border = \"rounded\",   -- any nvim_open_win border\n  title = \" vim.pack \",\n  max_width = 100,\n  width_ratio = 0.9,\n  height_ratio = 0.85,\n  zindex = 50,          -- float stacking order; lower it (e.g. 1) if a GUI like Neovide draws it in front\n  auto_check = false,   -- on setup, check remotes and notify if updates exist\n  auto_update = false,  -- on setup, apply every available update automatically\n  keymaps = {\n    prefix = \"\u003cleader\u003ep\",\n    status = \"s\",        -- \u003cleader\u003eps -\u003e :PackStatus\n    update_all = \"U\",    -- \u003cleader\u003epU -\u003e :PackUpdateAll\n    -- Buffer-local keys inside the float. Each takes a string or a list of\n    -- keys; set one to `false` to unbind it. These stay active even with\n    -- `keymaps = false` (that only turns off the global maps above).\n    window = {\n      close = { \"q\", \"\u003cEsc\u003e\" },\n      toggle_mark = { \"\u003cSpace\u003e\", \"\u003cTab\u003e\" },\n      mark_all = { \"a\" },\n      update_marked = { \"u\" },\n      update_all = { \"U\" },\n      refresh = { \"r\", \"R\" },\n      changelog = { \"\u003cCR\u003e\", \"K\" },\n    },\n  },\n})\n```\n\n## Automatic checks \u0026 updates\n\nBoth are **off by default** — nothing touches the network or changes plugins unless you opt in via `setup()`:\n\n- `auto_check = true` — on startup, fetch remotes in the background and notify you if any plugin has updates. No window opens and nothing is applied; run `:PackUpdate` when you want to review them.\n- `auto_update = true` — on startup, fetch and apply every available update automatically (a `:restart` loads the new code). This implies a check, so it supersedes `auto_check`.\n\nThe work is deferred off the startup critical path, and the fetch itself runs asynchronously.\n\n## Global keymaps \u0026 which-key\n\nCalling `setup()` registers the global keymaps above (nothing is mapped without it). Each carries a description, so if [which-key](https://github.com/folke/which-key.nvim) is installed they show up under a `pack-ui` group when you press the prefix — and the in-window keys (`\u003cSpace\u003e`, `a`, `u`, `U`, `r`, `\u003cCR\u003e`, `K`, `q`) appear in which-key too, since they're documented buffer-local maps.\n\nThere is deliberately no global keymap for `:PackUpdate`: marking rows only makes sense once the window is open, so `\u003cleader\u003ep` binds only `s` (status) and `U` (update all). Use `:PackUpdate` — or open with `\u003cleader\u003eps` and mark rows there.\n\nSet an individual entry to `false` to skip it, or `keymaps = false` to register none:\n\n```lua\nrequire(\"pack_ui\").setup({\n  keymaps = { prefix = \"\u003cleader\u003eu\", update_all = false },\n})\n```\n\nTo define your own commands instead of the defaults, set `vim.g.loaded_pack_ui = true` before startup and call `require(\"pack_ui\").status()` / `.update()` / `.update_all()` yourself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtprogru%2Fpack-ui.nvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtprogru%2Fpack-ui.nvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtprogru%2Fpack-ui.nvim/lists"}