detect key binding from inputrc
add search and state toolbars