Hi, When I am editing a command using default R console in Linux, sometimes it is going into "vi mode"...not too sure how/why this happening. It then requires me to use vi commands to edit the line, which is very frustrating when I just want to use the delete key instead of "x" to delete a character. How do I turn this off ? Thanks, Chris -- View this message in context: http://r.789695.n4.nabble.com/Vi-mode-in-Linux-console-how-to-stop-it-tp3612235p3612235.html Sent from the R help mailing list archive at Nabble.com.
Vi mode in Linux console - how to stop it ?
2 messages · rivercode, Brian Ripley
On Mon, 20 Jun 2011, rivercode wrote:
Hi, When I am editing a command using default R console in Linux, sometimes it is going into "vi mode"...not too sure how/why this happening. It then requires me to use vi commands to edit the line, which is very frustrating when I just want to use the delete key instead of "x" to delete a character. How do I turn this off ?
The same way as in every other application using readline, for example a bash shell. Consult 'man readline' (as documented). (Probably ctrl-e, but you need to find out what *you* did to get it into vi-mode.)
Thanks, Chris -- View this message in context: http://r.789695.n4.nabble.com/Vi-mode-in-Linux-console-how-to-stop-it-tp3612235p3612235.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595