[Top][All Lists]

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

Re: editing previous command in the *shell* buffer

From: Steve Perry
Subject: Re: editing previous command in the *shell* buffer
Date: Wed, 29 Apr 2015 12:57:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (darwin)

address@hidden writes:
> How can I do one or both of the following:
> ...
> (2) type the first part of the command, and have M-p search for the
> previous occurrence of the command that starts with the same pattern
> I've typed in. This is an xemacs feature I sorely miss.  C-s just
> isn't the same. If often finds all sorts of other cruft you have to
> skip over.
> thanks,

I bind M-p and M-n to comint-previous-matching-input-from-input and
comint-next-matching-input-from-input respectively which I think does
what you want...

reply via email to

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