all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Elena <egarrulo@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Viper: replacing text?
Date: Thu, 3 Sep 2009 17:05:33 +0200	[thread overview]
Message-ID: <e01d8a50909030805n665b1f26u7567f2aa571efee7@mail.gmail.com> (raw)
In-Reply-To: <058f0626-a0d0-4d45-b8a6-01e948464151@j4g2000yqa.googlegroups.com>

On Thu, Sep 3, 2009 at 4:11 PM, Elena<egarrulo@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.




  reply	other threads:[~2009-09-03 15:05 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-03 14:11 Viper: replacing text? Elena
2009-09-03 15:05 ` Lennart Borgman [this message]
     [not found] ` <mailman.5945.1251990364.2239.help-gnu-emacs@gnu.org>
2009-09-03 15:21   ` Elena
2009-09-03 15:40 ` Sean Sieger
2009-09-03 16:13   ` Lennart Borgman
2009-09-03 16:38     ` Sean Sieger
     [not found]     ` <mailman.5955.1251995918.2239.help-gnu-emacs@gnu.org>
2009-09-03 19:38       ` Elena
2009-09-03 21:53         ` Lennart Borgman
2009-09-04  1:19           ` Sean Sieger
     [not found]           ` <mailman.5983.1252027190.2239.help-gnu-emacs@gnu.org>
2009-09-04  7:58             ` Anselm Helbig
2009-09-04 10:41               ` Sean Sieger
     [not found]         ` <mailman.5974.1252014851.2239.help-gnu-emacs@gnu.org>
2009-09-03 22:51           ` Elena
2009-09-04  8:02             ` Anselm Helbig
2009-09-04  8:31               ` Elena
     [not found] ` <mailman.5946.1251992506.2239.help-gnu-emacs@gnu.org>
2009-09-03 15:58   ` Elena
2009-09-03 17:00     ` Sean Sieger
2009-09-03 17:01     ` Sean Sieger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e01d8a50909030805n665b1f26u7567f2aa571efee7@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=egarrulo@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.