This is for #77 and allows a user to enforce pager or cat mode from init.vim.
The execution here is pretty janky and I almost feel bad doing it like this, but it works. There are two recognized configuration options added:
nvimpager.force_pager_mode
nvimpager.force_cat_mode
However, these aren't really read by nvim at all. Instead, they are grepped by the nvimpager script and used to determine which mode should be used if the user doesn't specify it on the command line.
If you are okay with this, I can add tests and update the readme.
This is for #77 and allows a user to enforce pager or cat mode from
init.vim
.The execution here is pretty janky and I almost feel bad doing it like this, but it works. There are two recognized configuration options added:
nvimpager.force_pager_mode
nvimpager.force_cat_mode
However, these aren't really read by nvim at all. Instead, they are grepped by the nvimpager script and used to determine which mode should be used if the user doesn't specify it on the command line.
If you are okay with this, I can add tests and update the readme.