Re: readline + binding; still frustrated after 4 yrs of trying

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

 



Hi;
On Thu, 2010-03-11 at 16:42 -0800, Michael Elkins wrote:
> 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.
> 

An explanation or example with the man bash bind command would be
helpful !!

Did it. Got it.  The '"\e\C-b"':backward-word
binding works.  

Now the question is, how do I set it up in my .inputrc?  Just try "\e
\C-b": backward-word ? Or \e^B ?

How can I test that readline is even reading my .inputrc?

-- 
Regards Bill
Fedora 12, Gnome 2.28
Evo.2.28, Emacs 23.1.1

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux