On 07/04/04, Duncan Murdoch ([EMAIL PROTECTED]) wrote:
> >S?ren H?jsgaard wrote:
> >I'm on a PC and have VIM, a VI clone that I love. Is it possible and
> >relatively easy to replace the Emacs editor with one like that which
> >you already have?
>
> Does VIM have a way to run a program that uses stdin, stdout and
> stderr, capturing the input and output?
On my linux system, with my environmental variables pointing to vim, the
command
edit()
puts me into a vim buffer.
You may want to discover if you can get readline support for R too, as
it is great being able to use vi keybindings to surf through the command
history and do quick and easy cutting and pasting.
eg: <ESC>2k goes up two commands
<ESC>/abs find the first line with 'abs'
n find the next line with 'abs'
W move to the second word on a line
d$ delete from second word to end into buffer
p paste
Rory
--
Rory Campbell-Lange
<[EMAIL PROTECTED]>
<www.campbell-lange.net>
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html