It would be great if there were a configuration option for forcing pager mode rather than having to use the -p flag. Setting the PAGER variable with a flag isn't possible and you also can set an environment variable to a custom function. The workaround I have in place is a script like this:
#!/bin/bash
nvimpager -p <&0
And setting PAGER to that script which is not desirable.
Something like:
lua nvimpager.force_pager_mode = true
and maybe an equivalent command for cat mode would be great.
Thanks for nvimpager!
It would be great if there were a configuration option for forcing pager mode rather than having to use the
-pflag. Setting thePAGERvariable with a flag isn't possible and you also can set an environment variable to a custom function. The workaround I have in place is a script like this:And setting
PAGERto that script which is not desirable.Something like:
and maybe an equivalent command for cat mode would be great.
Thanks for nvimpager!