From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "alan yeung" Newsgroups: gmane.emacs.help Subject: Re: using arrow keys in emacs Date: Sat, 12 Oct 2002 20:54:52 -0400 Organization: Columbia University Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1034470844 13287 127.0.0.1 (13 Oct 2002 01:00:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2002 01:00:44 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 180X7a-0003S3-00 for ; Sun, 13 Oct 2002 03:00:43 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 180X84-0004O2-00; Sat, 12 Oct 2002 21:01:12 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news-out.spamkiller.net!propagator-la!news-in.superfeed.net!news-in-la.newsfeeds.com!dfw-feed.news.verio.net!phl-feed.news.verio.net!newsmaster.cc.columbia.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 34 Original-NNTP-Posting-Host: dyn-clar47-236-216.dyn.columbia.edu Original-X-Trace: newsmaster.cc.columbia.edu 1034470505 12809 160.39.236.216 (13 Oct 2002 00:55:05 GMT) Original-X-Complaints-To: postmaster@columbia.edu Original-NNTP-Posting-Date: 13 Oct 2002 00:55:05 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Xref: shelby.stanford.edu gnu.emacs.help:105988 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2535 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2535 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" 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 > >