Vim 在 RStudio 中 - 如何调用 Ex 命令

Vim in RStudio - how to call Ex Commands

我是 Vim 的新手,正在适应 RStudio 中的 Vim。 RStudio 表示可以通过切换到 Vim 模式并键入 :help 来调用键绑定 IDE 的快速参考卡。可用的参考卡还显示了其他各种Ex Commands。我在调用 Ex C[enter link description here][1]ommands 时运气不佳,但其他一切正常。

显然我遗漏了一些简单的东西......

RStudio v0.99 引入了升级的 Vim 模拟,以及对 ex 命令的支持(截至本 post,尚未发布,但可作为preview release).

如果您是 运行 预览版(或 RStudio v0.99 或更高版本)并且激活了 Vim 模式,您应该能够打开 ex 命令 'buffer'通过在 R 源文档具有焦点并激活 Vim 模式时键入 :