I'm trying to do something very simple:
I have two buffers in Vim, one with source code (B1), another one with a text file a.txt
(B2). The source code in B1 is run with a custom shortcut in Vim, filling a.txt
with text. I want Vim to automatically scroll B2 every time it updates, even if my cursor is in B1. So, I just want that the buffer B2 to behave the way tail -f
does.
Doing this with ConqueTerm is not an option, since buffer B2 can be a preview buffer from other plugin.