rkitover / vimpager

Use Vim as PAGER
http://www.vim.org/scripts/script.php?script_id=1723
Other
774 stars 72 forks source link

There should be cmdline options `--passthrough` and `--no-passthrough` to override `g:vimpager.passthrough` per-instance #238

Closed fictionic closed 6 years ago

fictionic commented 6 years ago

Example use case: I want to loop through some git commits, and run git show on each. If a commit is small enough, it will passthrough; but I don't want that, since I want to be able to pause on each iteration of the loop. I could wait for user input in the shell loop, but that creates an extra pause for commits that don't passthrough.

rkitover commented 6 years ago

Implemented in master.

fictionic commented 6 years ago

WOW. I have no words to describe how incredible it was to see this notification, and so quickly. Thank you!

Small typo: the --help text has the options prefaced with three hyphens instead of two (---passthrough), and the man page has them with one (-passthrough).

But wow. Thank you.

rkitover commented 6 years ago

No problem, I thought it would be fairly simple to do.