Skip to content

Config option for pager mode always #77

@mike-lloyd03

Description

@mike-lloyd03

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    waitingwaiting for a reply or more info

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions