You are not logged in.

#1 2022-09-30 18:33:40

priorit
Member
Registered: 2008-12-23
Posts: 21

[SOLVED] vimpager not handling more than one page

I have set vimpager as my PAGER.

However, a few weeks ago it stopped working for output that is longer than one page.
Pressing ctrl-g says that it doesn't believe that there are any lines:

  "/tmp/vimpager_2038982/stdin" --No lines in buffer--                                                         0,0-1         All

I have tried on different terminals so that doesn't seem to be the issue.
I have tried in different shells (zsh and bash)
I have this issue on two different machines.
I have tried to remove my .vimrc.

Does anyone have an idea of how to debug this?

Last edited by priorit (2022-10-21 21:32:42)

Offline

#2 2022-10-21 21:32:14

priorit
Member
Registered: 2008-12-23
Posts: 21

Re: [SOLVED] vimpager not handling more than one page

The cause for the issue seems to be the upgrade to vim 9.

It has been solved upstream, but as of now, no new release has been made. Easiest solution is to check out the git version and to put it into your path.

https://github.com/rkitover/vimpager/issues/267

Last edited by priorit (2022-10-21 21:33:46)

Offline

#3 2022-10-21 22:12:16

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] vimpager not handling more than one page

If you install vim-git from the AUR then it will automatically be in your path - no need to add it.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

Board footer

Powered by FluxBB