sysutils/nvimpager 0.14.0 FreeBSD
Use NeoVim as a pager, with full syntax highlighting
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD2CLAUSE
- Categories
- sysutils
- Package size
- 16.2 KiB, 38.1 KiB installed
Description
Use neovim as a pager to view man pages, git diffs, and whatnot with neovim's syntax highlighting and mouse support.
The script also has a "cat mode" which will not start up the neovim interface but instead print a highlighted version of the file to the terminal. Like cat with neovim syntax highlighting! If the input has less lines than the terminal cat mode is activated automatically so nvimpager behaves similar to less -F. Pager mode and cat mode can be enforced with the options -p and -c respectively.
Nvimpager comes with a small set of command line options but you can also use all of neovim's command line options. Use nvimpager -h to see the help text. The configuration is separated from the users config for neovim. The main config file is ~/.config/nvimpager/init.vim. See the manpage for further explanation.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | sysutils/nvimpager | 0.14.0 |
| DragonFly | sysutils/nvimpager | 0.13.0 |
Install
Binary package:
pkg install nvimpager
From the ports tree:
cd /usr/ports/sysutils/nvimpager/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= nvimpager>0:sysutils/nvimpager
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.14.0 | 0.14.0 | 0.11.0 | 0.13.0 | 0.14.0 |
| FreeBSD:14:quarterly | 0.14.0 | 0.14.0 | n/a | 0.13.0 | 0.14.0 |
| FreeBSD:15:latest | 0.14.0 | 0.14.0 | n/a | 0.13.0 | 0.13.0 |
| FreeBSD:15:quarterly | 0.14.0 | 0.14.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.14.0 | 0.14.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
scdoc: textproc/scdoc
Runtime 2
bash: shells/bashnvim: editors/neovim
The full lists below include those, and their dependencies in turn.
Build dependencies 4
Run dependencies 16
No port depends on this one.
Configuration
No options to configure.
- USES
- gmake
- Service scripts
- none
Files
Manual pages 1
- nvimpager(1)
pkg-plist 9
- bin/nvimpager
- share/man/man1/nvimpager.1.gz
- share/nvimpager/runtime/lua/nvimpager/ansi2highlight.lua
- share/nvimpager/runtime/lua/nvimpager/cat.lua
- share/nvimpager/runtime/lua/nvimpager/init.lua
- share/nvimpager/runtime/lua/nvimpager/options.lua
- share/nvimpager/runtime/lua/nvimpager/pager.lua
- share/nvimpager/runtime/lua/nvimpager/util.lua
- share/zsh/site-functions/_nvimpager
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| lucc-nvimpager-v0.14.0_GH0.tar.gz | 32736 | 001c49098690e4baa6857557b9edc564433825a1947ec368a1e52d63aa1715a3 |
Commit history 0
No commits in the history this site was built from.