vim-docker-tools
vim-docker-tools copied to clipboard
Keep last lines of command output (after send command to image) visible in window
Currently, when a command is sent to a docker image (e.g. ping google.com
, or find .
, only first lines of the output are shown in vim window and after the window gets filled, new lines appended to the end are not visible (unless you move there cursor manually).
Expected behaviour is to keep the last line always visible, similarly as when you run such command in neovim :terminal
window.
Note, that if #20 (follow mode for logs) are to be implemented, the same shall apply to them too.
Would you mind providing screenshot? Thanks.
Sure. Sending command find .
to running ubuntu
image.
After I run it:
Then I :set number
to show line numbers:
and use G
to jump to the bottom:
using:
:version
NVIM v0.3.1-1-g489d32f2b