-
I just started using I noticed when I run
everything there works as I'd expect. But when I run it from within a neovim terminal it sends the same 3 lines through less even when there is more than enough room to just print them to stdout directly. I'm not sure where to start looking to figure out why this is happening. Has anyone else ran into this already? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I would start investigating this way:
|
Beta Was this translation helpful? Give feedback.
-
Thanks this got me on the right track. I didn't know less was always called no matter what, but that makes sense. It turned out to be a confluence of problems that will be unique to me I think. I had PAGER="less -R" everywhere, both inside and outside of Neovim. However, I happened to have Inside of neovim, I run it in a sandbox and it can't access |
Beta Was this translation helpful? Give feedback.
less -F
causes less to exit if there is less than one screenful of output. jj always spawns the pager (if configured), butless
will exit automatically if it can.I would start investigating this way:
less
running when running from the neovim terminal? Or is it some other pager?echo hi | less -FRX
causeless
to exit when run inside neovim's terminal?