Replacing the pager inside vim?

5

2

Note: Not using vim as a pager. That's covered extensively on the Internet.

When you press Tab to complete various kinds of stuff inside vim/gvim, it brings up a fairly basic pager. For example, enter :help taTab. You get a list of matching items, with the pager prompt like this:

-- More -- SPACE/d/j: screen/page/line down, b/u/k: up, q:quit

How do I replace this pager with something a bit more sophisticated?

Roger Lipscombe

Posted 2013-10-07T08:21:33.830

Reputation: 1 933

Not sure about your sample but for other commands see this answer

– laktak – 2016-12-01T20:19:21.953

Answers

2

That pager is built-in: you can disable it with set nomore but you can't replace it with something else.

You'd better read :h pager and get comfortable with the mappings.

Also, what sophistication do you have in mind?

romainl

Posted 2013-10-07T08:21:33.830

Reputation: 19 227

1

That's built-in; you'd have to modify the source code, and recompile.

A radical change (or complete alternative) is unlikely to be accepted by Bram, but if you have good ideas for simple usability enhancements that can be implemented without introducing much additional code, please send such patches to the vim_dev mailing list.

Ingo Karkat

Posted 2013-10-07T08:21:33.830

Reputation: 19 513