This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Bash - bind Alt-Arrow keys
- From: Scott Goldstein <sdgoldst at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 14 Mar 2002 14:02:04 -0800 (PST)
- Subject: Bash - bind Alt-Arrow keys
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/