This is an annoying little bug in Vim when using the remote browsing capabilities of netrw.

Its annoying because I have to press enter to continue! Thankfully there is a quick workaround that sort of works:

:set ch=2

That gives the vim console enough room to display two “–No lines in buffer–” errors without asking the user to continue.

There has got to be a way to silence this! I tried:

silent! g:netrw_scp_cmd


let g:netrw_silent = 1
let g:netrw_use_noswf= 0

with no luck. I also tried disabling all my other plugins, but that didn’t work either.