Skip to content

Pager unnecessarily being used inside neovim terminal #5386

Closed Answered by jennings
will asked this question in Q&A
Discussion options

You must be logged in to vote

less -F causes less to exit if there is less than one screenful of output. jj always spawns the pager (if configured), but less will exit automatically if it can.

I would start investigating this way:

  • Is less running when running from the neovim terminal? Or is it some other pager?
  • Does another command like echo hi | less -FRX cause less to exit when run inside neovim's terminal?
  • Is $LESS set? Is it somehow set differently when running from inside neovim?

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by will
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants