From: kai.grossjohann@gmx.net (Kai Großjohann)
Subject: Re: A few simple questions
Date: Sat, 10 May 2003 16:33:52 +0200 [thread overview]
Message-ID: <84smrmooq7.fsf@lucy.is.informatik.uni-duisburg.de> (raw)
In-Reply-To: phvfwj2xdf.fsf@wangyin.com
Wang Yin <wang-y01@mails.tsinghua.edu.cn> writes:
> 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?
People have mentioned C-s before. It's not the same as vi's f
command, but maybe good enough.
> 2. How do I move like "W" in vi. That is, move to the next white space
> delimited "Word"?
I think this doesn't exist in Emacs. Emacs has the equivalent of
"w", but no equivalent of "W". Maybe C-M-f comes close: whereas M-f
would stop at the dash in foo-bar, C-M-f would not. (M-f is the
Emacs equivalent of vi's "w".)
> 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...!
Emacs automatically recognizes the EOL convention of files it reads.
So, normally, C-x C-f is enough. After that, saving with C-x C-s
preserves the EOL convention.
--
file-error; Data: (Opening input file no such file or directory ~/.signature)
next prev parent reply other threads:[~2003-05-10 14:33 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-10 5:18 A few simple questions Wang Yin
2003-05-10 6:50 ` Jonas Steverud
2003-05-10 7:00 ` Friedrich Dominicus
2003-05-10 14:03 ` Wang Yin
2003-05-10 14:15 ` Friedrich Dominicus
2003-05-10 14:19 ` Marco Parrone
2003-05-10 14:23 ` Marco Parrone
2003-05-10 14:35 ` Marco Parrone
2003-05-10 14:58 ` Wang Yin
2003-05-10 15:28 ` Marco Parrone
2003-05-11 0:28 ` Wang Yin
2003-05-12 12:50 ` Oliver Scholz
2003-05-12 12:56 ` Oliver Scholz
2003-05-10 17:39 ` Eli Zaretskii
[not found] ` <mailman.5930.1052588693.21513.help-gnu-emacs@gnu.org>
2003-05-11 0:34 ` Wang Yin
2003-05-10 8:59 ` Eli Zaretskii
2003-05-10 14:33 ` Kai Großjohann [this message]
2003-05-10 17:07 ` Kai Großjohann
2003-05-11 0:33 ` Wang Yin
2003-05-12 19:03 ` Kin Cho
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84smrmooq7.fsf@lucy.is.informatik.uni-duisburg.de \
--to=kai.grossjohann@gmx.net \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).