Use the inputrc snippet going around.
Some more inputrc settings.