BSD Ports

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

SystemPortVersion
FreeBSDsysutils/nvimpager0.14.0
DragonFlysysutils/nvimpager0.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.14.00.14.00.11.00.13.00.14.0
FreeBSD:14:quarterly0.14.00.14.0n/a0.13.00.14.0
FreeBSD:15:latest0.14.00.14.0n/a0.13.00.13.0
FreeBSD:15:quarterly0.14.00.14.0n/an/an/a
FreeBSD:16:latest0.14.00.14.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 2

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
FileSizeSHA256
lucc-nvimpager-v0.14.0_GH0.tar.gz32736001c49098690e4baa6857557b9edc564433825a1947ec368a1e52d63aa1715a3

Commit history 0

No commits in the history this site was built from.