comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: emacs idlwave shell key bindings
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: emacs idlwave shell key bindings [message #25850] Thu, 19 July 2001 05:29
dominik is currently offline  dominik
Messages: 47
Registered: June 2000
Member
>>>> > "KM" == Ken Mankoff <mankoff@lasp.colorado.edu> writes:


Hi Ken,

try this:

(add-hook 'idlwave-shell-mode-hook
(lambda ()
(define-key idlwave-shell-mode-map "\C-p" 'idlwave-shell-up-or-history)
(define-key idlwave-shell-mode-map "\C-n" 'idlwave-shell-down-or-history)))


Hope this helps.

- Carsten




KM> Hi everyone, I am using the IDL wave mode in Emacs. I would like
KM> to be able to remap my keys so that CTRL-p recalls the previous
KM> command (similar to the up arrow), and CTRL-n goes to the next
KM> command (down arrow).

KM> Anyone have this config in their .emacs and willing to
KM> cut-and-paste?

KM> thanks, -k.

KM> -- Ken Mankoff LASP://303.492.3264
KM> http://lasp.colorado.edu/~mankoff/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: File Selection Dialogs in PV-WAVE
Next Topic: Plotting a 3D Array In IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:56:38 PDT 2025

Total time taken to generate the page: 0.00540 seconds