help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Viper: replacing text?


From: Elena
Subject: Re: Viper: replacing text?
Date: Thu, 3 Sep 2009 08:21:44 -0700 (PDT)
User-agent: G2/1.0

On 3 Set, 15:05, Lennart Borgman <lennart.borg...@gmail.com> wrote:
> On Thu, Sep 3, 2009 at 4:11 PM, Elena<egarr...@gmail.com> wrote:
> > Hello,
>
> > how do I replace text with previous kill?
>
> > That is: I kill (or copy) a word, then travel to another word and I'd
> > like to replace the latter with the former. Currently I paste the
> > first word, move a character to the right and kill the second word,
> > but I don't think that's the faster way to do it.
>
> It probably is since you have to tell Viper somehow what you want to replace.
>
> However if you want to do it many times you may want to define a macro
> or even a function for doing this.

Yes. I thought there was a way to tell Viper to replace movement
region with last killed or yanked text. Kinda like delete command
works ('dw', 'de', 'dG', etc.).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]