Is it possible to make the nvim terminal always automatically scroll down so you can see the latest messages? For example I have my vim editor setup like this

enter image description here

On the button half of the screen I have a horizontal split nvim terminal window. However I always have to manually switch to that window and scroll down to see the latest terminal outputs. Is it possible to make the terminal window scroll down automatically just like it does in vscode?

  • 1
    What exactly is being displayed in the terminal window? I assume that's a runtime log for a service or something like that.....? I'm surprised to hear that it doesn't scroll along with it. Did a quick test in my vim and it tracked along with it just fine. I also tried tail -f somefile and had similar results. Please provide specific details if you would.
    – B Layer
    Commented Jun 30, 2020 at 16:16
  • I have my node server running in that terminal and its basicly just output from my server like console outputs or error messages
    – JangoCG
    Commented Jun 30, 2020 at 16:19
  • 1
    I just noticed "nvim". If you're using neovim you should call that out. Doesn't necessarily mean it's the cause but it's a relevant detail. Terminal implementations in vim vs nvim are non-trivially different.
    – B Layer
    Commented Jun 30, 2020 at 16:20
  • 1
    Sorry about that, I just adjusted my original question
    – JangoCG
    Commented Jun 30, 2020 at 16:23
  • No problem! And welcome to Vi/Vim SE.
    – B Layer
    Commented Jun 30, 2020 at 16:27


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.