Bash - bind Alt-Arrow keys

Scott Goldstein sdgoldst@yahoo.com
Thu Mar 14 14:43:00 GMT 2002


I want to bind \M-right and \M-left to forward-word
and backward-word respectively in bash.

I've tried the following in my .inputrc file:

# forward word
bind '"\M-\e[C":forward-word'

# backward word
bind '"\M-\e[D":backward-word'

It seems to work, but have some strange side affects. 
Specifically, the 'b' key no longer works.  

Any ideas?

Thanks.

Scott

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list