When bash is started without readline support, redefining bindings in .bashrc
yields warnings. This is the case when starting bash as in Emacs' shell-mode,
among others. Moving the keybindings to inputrc fixes this, and should make the
bindings available to all programs using readline.