Wait for \ao to finish in Neovim too
I have made an attempt of avoiding Neovim freezing while R CMD BATCH was
running, but if the user was typing something when R finished, the last
typed keys would go to the new tab. Vim has the function feedkeys(), but
in this case we need the opposite, whose name could be consumekeys().