readline + binding; still frustrated after 4 yrs of trying
Michael Elkins
me at sigpipe.org
Fri Mar 12 01:26:35 UTC 2010
On Thu, Mar 11, 2010 at 08:15:43PM -0500, William Case wrote:
> Now the question is, how do I set it up in my .inputrc? Just try "\e
> \C-b": backward-word ? Or \e^B ?
Just put the following line in your ~/.inputrc:
"\e\C-b": backward-word
The man page says the colon *must not* have a space after the key
sequence.
> How can I test that readline is even reading my .inputrc?
$ bind -P | grep backward-word
You should see something like:
backward-word can be found on "\e\C-b", "\eb".
Note the addition of the new key binding to the stock binding of M-b.
me
More information about the users
mailing list