[Top][All Lists]

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

Re: A few simple questions

From: Wang Yin
Subject: Re: A few simple questions
Date: 10 May 2003 22:03:12 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Friedrich Dominicus <address@hidden> writes:

> Wang Yin <address@hidden> writes:
> > Hi,
> > 
> > I have a few simple questions to ask about Emacs. They are so simple,
> > yet it seems that I can't find them in the manual and FAQ:
> > 
> > 1. How can I do something like f command in vi? When I'm looking at a
> >    line, I want to move to a charater, say 'a'. How can I do something
> >    like "fa" in Emacs, and how to I repeat this command to go to
> >    following a's?
> C-s a
> for repeated searches just type C-s  again

I don't mean that. I want something faster that doesn't need

I want something just like a zap-to-char, but instead of killing the
characters, move the pointer.

> > 
> > 2. How do I move like "W" in vi. That is, move to the next white space
> >    delimited "Word"?
> M-f alternatively for more word C-u 3 M-f

I mean how can I jump over something like "emacs-21.2.tar.gz" as a
whole, not as 5 words. I want to jump to the next white space.

> > 
> > 3. How do I change DOS lineend file into UNIX lineend file quickly? I
> >    don't like to C-x RET c ....-unix C-x C-f...!
> M-x replace-regexp C-q RET$ RET RET
> You can save it as a macro, name it and just call the macro. 
> Regards
> Friedrich

Wang Yin
DA Lab, Tsinghua University,
Beijing China

reply via email to

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