Skip to main content

Questions tagged [pager]

Using vi/vim as a pager, eg in lieu of `less`

3 votes
1 answer
176 views

In a terminal buffer, I want to auto-exit when I press "kk". Except for when I'm in some interactive session, like a pager (like the pager which is created when you git diff). To do that, I ...
ColinKennedy's user avatar
3 votes
2 answers
309 views

I use both Ale and VIM pager plugins. But for obvious reasons I want to disable some Vim features and plugins in the "less" mode. But if I put as recommended this piece of code in my .vimrc it still ...
Anton Kochkov's user avatar
14 votes
5 answers
15k views

I tried export PAGER="nvim -R", however it does not work for man page, so I export MANPAGER="nvim -c 'set ft=man' -" again, it works. However it still does not work for git log, it looks like below: ...
acgtyrant's user avatar
  • 317
0 votes
1 answer
146 views

I recently discovered the world of vim session files, and they are awesome for working with multi-file code projects. However, when opening a man page I don't need a session file created for viewing ...
ipatch's user avatar
  • 2,029
3 votes
1 answer
518 views

Problem I want to view man-pages in colour, preserving nroff's bold and italic directives. How would I edit a buffer's text and setup highlight regions: manpage_bold: For all instances of X <...
Tom Hale's user avatar
  • 2,801