Skip to content
Back to formatted view

Raw Message

Message-ID: <loom.20150416T164743-425@post.gmane.org>
Date: 2015-04-16T14:48:15Z
From: Paul Bivand
Subject: vi[m] editing of past commands in R command line

When I use bash + readline and ~/.inputrc contains "editing-mode vi", I can 
press "v" to switch to from the command line editing to a full vi session 
editing of a command.  This doesn't seem to happen in R.  Is there a 
configuration setting/file that I can set to get this behaviour?

Furthermore, when using bash, the fc command allows me to edit the history 
of commands, and when I exit the editor, all the remaining (and likely 
modified) commands are submitted to the bash shell as if I typed them at 
the prompt.  Is there a way to get similar functionality in R?