开发者

vi input mode in R?

I'd like to be able to edit my R history using vi commands (e.g. ESC-/, ESC-k). I noticed a similar question here: vi input mode in command line Matlab? and tried the readline mods suggested in this post 开发者_JAVA技巧(doesn't R use readline?) but they don't work (for me).

Any ideas?


The Vim-R-plugin should do the trick. I have used it in Ubuntu, MacOS, and Windows 7. The developer is great and does frequent bugfixes.

To get Vim behavior in the R console you'll need to use the Conque Shell plugin, which Vim-R-plugin supports. I tried it for a day but found modality in the R command line a little tedious. All I ever use is tab completion and last command.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜