help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: using arrow keys in emacs


From: alan yeung
Subject: Re: using arrow keys in emacs
Date: Sat, 12 Oct 2002 20:54:52 -0400

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" <address@hidden> wrote in message
news:address@hidden
> 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 via email to

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