feat: add nvimpager as possible pager.

Also ensure the child-pager uses pager_path.

fix #568
This commit is contained in:
Alexandre Pujol 2024-10-21 21:19:42 +01:00
parent 1efb50e67e
commit 165a5f7b9a
Failed to generate hash of commit
2 changed files with 3 additions and 3 deletions

View file

@ -13,7 +13,6 @@ abi <abi/4.0>,
include <tunables/global>
@{exec_path} = @{bin}/pager @{bin}/less @{bin}/more
profile child-pager flags=(attach_disconnected) {
include <abstractions/base>
include <abstractions/consoles>
@ -24,10 +23,11 @@ profile child-pager flags=(attach_disconnected) {
signal (receive) set=(stop, cont, term, kill),
@{bin}/ r,
@{exec_path} mr,
@{pager_path} mr,
@{system_share_dirs}/terminfo/{,**} r,
/usr/share/file/misc/** r,
/usr/share/nvim/{,**} r,
@{HOME}/.lesshst r,

View file

@ -36,7 +36,7 @@
@{editor_names} = sensible-editor vim{,.*} nvim nano
# Pager
@{pager_names} = sensible-pager pager less more
@{pager_names} = sensible-pager pager less more nvimpager
# Browsers