Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!seismo!harpo!ihnp4!inuxc!pur-ee!uiucdcs!uicsl!mather From: mather@uicsl.UUCP Newsgroups: net.emacs Subject: Re: Alternative to ^P - (nf) Message-ID: <4667@uiucdcs.UUCP> Date: Wed, 21-Dec-83 22:33:09 EST Article-I.D.: uiucdcs.4667 Posted: Wed Dec 21 22:33:09 1983 Date-Received: Fri, 6-Jan-84 01:35:56 EST Lines: 23 #R:alice:-240700:uicsl:21900004:000:746 uicsl!mather Dec 21 12:37:00 1983 If you have a version of emacs that allows redefinition of the keymap, you can re-bind the 'previous-line' function to whatever key you wish. Let's make control-U the previous-line function. First, do the old esc-x to get to command mode, then type: bind-to-key previous-line ^U (^U is a single key-stroke) Now, emacs, being wise and predictive, will insert prompts before each field (when you type ), so that it will look like: : bind-to-key name: previous-line key: ^U Now, control-U will take you up a line (as will control-P until you rebind it.) This can also be done by putting the bind-to-key command in your .emacs_pro file. B.C. uiucdcs!uicsl!mather