macOS
brew install nvimpagerlocal Homebrew formula metadata
sudo port install nvimpagerMacPorts ports tree · sysutils/nvimpager/Portfile · 来源: api.github.com
安装
brew install nvimpagerlocal Homebrew formula metadata
sudo port install nvimpagerMacPorts ports tree · sysutils/nvimpager/Portfile · 来源: api.github.com
sudo apk add nvimpagerAlpine Linux edge package indexes · nvimpager · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#nvimpagernixpkgs package indexes · pkgs/by-name/nv/nvimpager/package.nix · 来源: api.github.com
sudo zypper install nvimpageropenSUSE Tumbleweed package metadata · nvimpager · 来源: download.opensuse.org
概览
Use NeoVim as a pager to view manpages, diffs, etc.
历史
nvimpager is a small pager wrapper that launches Neovim in a pager-like mode for man pages, files, pipes, and diffs. It is not trying to replace `less` for every workload; it exists for users who want Neovim syntax highlighting, mouse behavior, and familiar keybindings while reading output.
The nvimpager repository was created on 2017-10-23. Its README describes the project as a rewrite of vimpager with fewer but stricter dependencies and with Neovim as the target editor.
The project stayed deliberately small: a wrapper script, a man page, a separate configuration path under `~/.config/nvimpager`, and enough logic to choose pager mode or cat mode depending on input.
nvimpager's adoption follows the shell-customization path: people find it through Neovim, then set `PAGER=nvimpager` or use it for `man`, `git diff`, and piped command output. Homebrew packages version 0.14.0 and declares Neovim as a runtime dependency.
The package is also present in several Unix packaging ecosystems, including Homebrew, MacPorts, Nix, Alpine, and openSUSE, which is the right scale for a focused terminal utility.
The README shows the practical workflow: run `nvimpager file`, pipe text into it, or export `PAGER=nvimpager` and then use `man bash` or `git diff`. Cat mode prints highlighted output directly when opening the full Neovim interface would be overkill.
Users configure nvimpager separately from their normal Neovim setup with `~/.config/nvimpager/init.vim` or `~/.config/nvimpager/init.lua`, which keeps pager behavior from being accidentally slowed or broken by a full editing config.
nvimpager matters because it turns an editor into a Unix pipeline component without pretending every terminal read needs a new pager implementation. It is a thin adapter around a powerful installed tool.
Its limitations are part of the package story: the README notes that large files and lazy pipe reading remain areas where `less` is faster or more memory efficient.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/nvimpager/init.vim~/.config/nvimpager/init.lua可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
nvimpager | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/lucc/nvimpager
安装元数据
| 软件包键 | brew:nvimpager |
|---|---|
| 版本 | 0.14.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/nvimpager |
| 主页 | https://github.com/lucc/nvimpager |
| 仓库 | https://github.com/lucc/nvimpager |
| 上游文档 | https://github.com/lucc/nvimpager#readme |
| 许可证 | BSD-2-Clause |
| 源码归档 | https://github.com/lucc/nvimpager/archive/refs/tags/v0.14.0.tar.gz |
| 最后更新 | 2026-05-18T12:31:01-04:00 |
| Pulse | updated |
| 依赖 | neovim |
| 构建依赖 | scdoc |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
| 注意事项 | To use nvimpager as your default pager, add `export PAGER=nvimpager` to your shell configuration. |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | nvimpager |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
nvimpager
nix profile install nixpkgs#nvimpagernvimpager 0.12.0-r0
Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting
https://github.com/lucc/nvimpager
sudo apk add nvimpagernvimpager-doc 0.12.0-r0
Use nvim as a pager to view manpages, diffs, etc with nvim's syntax highlighting (documentation)
https://github.com/lucc/nvimpager
sudo apk add nvimpager-docnvimpager-zsh-completion 0.12.0-r0
Zsh completions for nvimpager
https://github.com/lucc/nvimpager
sudo apk add nvimpager-zsh-completionnvimpager 0.14.0-1.1
Use nvim as a pager
https://github.com/lucc/nvimpager
sudo zypper install nvimpagernvimpager-zsh-completion 0.14.0-1.1
Zsh completion for nvimpager
https://github.com/lucc/nvimpager
sudo zypper install nvimpager-zsh-completionnvimpager
sudo port install nvimpager来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.