[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: emulate readline
From: |
Richard Riley |
Subject: |
Re: emulate readline |
Date: |
Wed, 06 Apr 2011 21:06:50 +0200 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/23.2 (gnu/linux) |
despen@verizon.net writes:
> fork <forkandwait@gmail.com> writes:
>
>> Is there a way to get the behavior of this (super cool)
>> readline behavior in the minibuffer?
>>
>> In my .inputrc I have this:
>>
>> "\e[A": history-search-backward
>> "\e[B": history-search-forward
>> "\eOA": history-search-backward
>> "\eOB": history-search-forward
>>
>> So in bash I can type "ps", hit the up-arrow, and get the most recent
>> command that started with these two letters (e.g. "psql -D foobar").
>> The next time I hit up-arrow, I get "psql -U fork -D forksdb", etc.
>> I would like to type M-x in emacs, then cycle through previous
>> commands like this.
>
> M-p
How do you make M-p work like bash filtered history (C-r, C-n from bash
line) as requested in the op?
Re: emulate readline, Le Wang, 2011/04/06
Message not available
Re: emulate readline, despen, 2011/04/06