all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: M G Berberich <berberic@forwiss.uni-passau.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs and vim analogs
Date: Sun, 18 Feb 2007 22:36:58 +0100	[thread overview]
Message-ID: <qgtma4-77m.ln1@avaloon.forwiss.uni-passau.de> (raw)
In-Reply-To: 854ppji8yx.fsf@lola.goethe.zz

Hello

On Sun, 18 Feb 2007 20:03:50 +0100, David Kastrup <dak@gnu.org> wrote:
> "Clinton Curry" <clintonc@uab.edu> writes:

>> 2) Redo-last-change.  In Vim, if you make a change, pressing "."
>> will make the change again.  Is there something analogous in Emacs,
>> aside from defining a macro?
>
> Either C-x M-ESC or C-x z, depending on your requirements.

You probably mean C-x ESC ESC or C-x M-: . C-x M-ESC simply quits my
emacs. But both are not doing what '.' does in vim. With vims . you
can repeate commands like “replace next three word with …”, “indent 5
lines”, “append … to line” or “replace rest of line with …” 
(where … stands for some text). This is not possible with emacs
because there is no implicit grouping of inserted characters, so C-x z
repeats the last character typed, which is completely useless.

While I use the . command in vim frequently, I never ever had any use
for “repeat” or “repeat-complex-command” (I can't even think of a
usefull application for “repeat”).

    MfG
    bmg

-- 
"Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!"          | berberic@fmi.uni-passau.de
(SPD-Stadtrat Kurt Schindler; Regensburg)  | www.fmi.uni-passau.de/~berberic

  reply	other threads:[~2007-02-18 21:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4699.1171822764.2155.help-gnu-emacs@gnu.org>
2007-02-18 19:03 ` Emacs and vim analogs David Kastrup
2007-02-18 21:36   ` M G Berberich [this message]
2007-03-01 14:46     ` Ken Goldman
2007-03-01 15:44       ` Lennart Borgman (gmail)
2007-02-18 18:19 Clinton Curry
2007-02-18 19:30 ` Lennart Borgman (gmail)

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=qgtma4-77m.ln1@avaloon.forwiss.uni-passau.de \
    --to=berberic@forwiss.uni-passau.de \
    --cc=berberic@fmi.uni-passau.de \
    --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.