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.
精彩评论