Vince Rice: > I'm trying to map ctrl-tab in mintty and can't seem to get it working. I've > Googled bash and key bindings, key mapping, etc., but haven't found anything > that helps with the problem.
How about the mintty manual? > I'm trying to bind ctrl-tab to reverse-menu-complete. There's no standard for Ctrl+Tab, which is to say, xterm sends the same as for plain Tab. MinTTY sends "\e[1;5I" for Ctrl+Tab and "\e[1;6I" for Ctrl+Shift+Tab. >>cat .inputrc > # use ctrl-left/right to jump between words > ";5C": forward-word > ";5D": backward-word > > # enable inline completion > TAB: menu-complete > ";5C": forward-word > ";5D": backward-word > ";5I": reverse-menu-complete Those are incomplete, i.e. you're relying on readline swallowing part of the keycode. Those should be: "\e[1;5C": forward-word "\e[1;5D": backward-word "\e[1;5I": reverse-menu-complete Have a look at the tips section of the mintty manual as well; it's got some more key bindings you might want. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple