[REBOL] Re: GVIM Editor
From: andreas:bolka:gmx at: 12-Mar-2002 18:32
Tuesday, March 12, 2002, 12:50:41 PM, Joel wrote:
> "Dr. Louis A. Turk" wrote:
>>
>> Sorry to ask a non-rebol question, but I'm trying to learn vim to
>> edit rebol scripts. I'm in a situation in which I have to cut and
>> paste data from another program into a rebol script. It seems that
>> vim can't do this.
>>
> It can.
> to insert after the current cursor position. In vim 6.0
> "+p
[assuming you are using vim6.0]
as you are trying to learn vim, maybe you'd like to have that command
explained.
a) VIM has a system known as "registers" - you can think of it as
quick buffers. registers are named by a single character which can be
any of {a-zA-Z0-9.%#:-"}
registers are accessed by "x - x beeing a valid register name
(character)
b) copy/paste/delete [y, p, d] can be optionally used with explicit
source/destination register. you can yank a piece of test into
register a and another text into b and then paste one of those texts
whenever you want.
c) + is the register refering to the clipboard (and therefore is a
read-only register)
now "+p should be clear ;)
--
Best regards,
Andreas mailto:[andreas--bolka--gmx--net]