Set editing-mode to vi in inputrc.