How can I get the output at the head of the output panel buffer? #256
-
Right now, it always append to the bottom of output panel buffer. I need to switch to that buffer window then press So is it possible to append the new output to the beginning of the output panel? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
hmmm, that should not happen (if we're talking about the display mode Terminal and not something else). Sniprun sets a You may want to execute You may change this by setting the scrollback option to -1 only for sniprun: https://michaelb.github.io/sniprun/sources/display_modes.html#terminal |
Beta Was this translation helpful? Give feedback.
hmmm, that should not happen (if we're talking about the display mode Terminal and not something else). Sniprun sets a
scrollback
to the terminal buffer that take its default from vim.o.scrollback (almost always -1)You may want to execute
:lua print(vim.o.scrollback)
to check whether your config changed this.You may change this by setting the scrollback option to -1 only for sniprun: https://michaelb.github.io/sniprun/sources/display_modes.html#terminal