readline + binding; still frustrated after 4 yrs of trying
Michael Elkins
me at sigpipe.org
Fri Mar 12 00:42:17 UTC 2010
On Thu, Mar 11, 2010 at 07:18:28PM -0500, William Case wrote:
> ]$ bind "\e\C-b": backward-word
>
> Tried it on a several word command line from History. No motion.
Because of the peculiarities of shell quoting, you need to quote the
key sequence inside single quotes because the double quotes are
significant to bind
bind '"\e\C-b"':backward-word
Also note the lack of space around the colon when using the 'bind'
command as opposed to putting it in ~/.inputrc.
me
More information about the users
mailing list