Skip to content

Vim Read Shell Output Into BufferΒΆ

:vnew | r ! <some_command>

To use the current file number in the command use, #.

:vnew | r ! echo # | layitout