[R] Using vi syntax in command line editing.

Rolf Turner ro||turner @end|ng |rom po@teo@net
Tue Nov 26 02:54:36 CET 2024


On Mon, 25 Nov 2024 20:13:02 -0500
Ben Bolker <bbolker using gmail.com> wrote:

>    Maybe
> 
> https://stackoverflow.com/questions/6235034/vi-keybindings-for-r-command-line-like-in-bash
> 
>   ?? (tl;dr "set editing-mode vi" or "set keymap vi" in .inputrc ... )

Yew bewdy!!!  That (set editing-mode vi) did it.  My everlasting
gratitude.

cheers

Rolf

> 
> 
> On 11/25/24 20:09, Rolf Turner wrote:
> > 
> > 
> > I have recently acquired a new laptop.  (My old one was giving me
> > ominous messages on boot-up, about possible hard drive problems.)
> > 
> > I want to get everything running "just as it was" on the old laptop
> > (So that I can stay in my comfort zone).  In particular, I would
> > like to do command line editing with vi syntax, which is what I am
> > used to.
> > 
> > I cannot for the life of me remember how I told R to use vi syntax
> > on my old laptop.  I am sure it was very simple.  A web search led
> > me to advice that this had to be do be done by installing some
> > "plugins" (???), but I am certain that stuff like that was not
> > necessary.
> > 
> > Can anyone refesh my aging memory?  Thanks.
> > 
> > cheers,
> > 
> > Rolf Turner
> > 
> 



-- 
Honorary Research Fellow
Department of Statistics
University of Auckland
Stats. Dep't. (secretaries) phone:
         +64-9-373-7599 ext. 89622
Home phone: +64-9-480-4619



More information about the R-help mailing list