How to scroll up to view the output of system command in Vim

不羁的心 提交于 2019-12-02 02:42:09

As far as I know, you can't scroll up in output that comes from an external source.

Messages do have a simple scrolling facility but only for the messages over which Vim has full control. See :h messages.

Looking at your screenshot though, I can tell you that you're doing it wrong. Running RSpec through :!rspec is inefficient. Vim has an RSpec compiler in its runtime.

:compiler rspec
:make

Now RSpec output is parsed and filled into your quickfix list for easy navigation.

For even more RSpec power such as asynchronous test runs check out dispatch.vim.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!