all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "alan yeung" <aly324@hotmail.com>
Subject: Re: using arrow keys in emacs
Date: Sat, 12 Oct 2002 20:54:52 -0400	[thread overview]
Message-ID: <aoag99$cg9$1@newsmaster.cc.columbia.edu> (raw)
In-Reply-To: aoaf1f$bq6$1@newsmaster.cc.columbia.edu

i found the following instructions on the web:

"you can add the following lines to your .emacs file (create one if you
don't already have
one):

    (if (not window-system)		;; Only use in tty-sessions.
     (progn
      (defvar arrow-keys-map (make-sparse-keymap) "Keymap for arrow keys")
      (define-key esc-map "[" arrow-keys-map)
      (define-key arrow-keys-map "A" 'previous-line)
      (define-key arrow-keys-map "B" 'next-line)
      (define-key arrow-keys-map "C" 'forward-char)
      (define-key arrow-keys-map "D" 'backward-char)))
"
what ".emacs" file is that? in what directory should i create it?

is it simply ".emacs" ?

thanks

"alan yeung" <aly324@hotmail.com> wrote in message
news:aoaf1f$bq6$1@newsmaster.cc.columbia.edu...
> hello
> i'm new to emacs and not used to its cursor movement commands. is there
any
> way to configure emacs so i can use the more intuitive arrow keys? thanks
a
> lot.
> alan
>
>

  reply	other threads:[~2002-10-13  0:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-13  0:33 using arrow keys in emacs alan yeung
2002-10-13  0:54 ` alan yeung [this message]
2002-10-13  1:23 ` Stefan Monnier <foo@acm.com>
2002-10-13  6:02   ` Fredrik Staxeng
2002-10-13  6:44     ` alan yeung
2002-10-13 17:15       ` Fredrik Staxeng

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='aoag99$cg9$1@newsmaster.cc.columbia.edu' \
    --to=aly324@hotmail.com \
    /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.