some inputrc magic: history navigation and word navigation (alt+left/right arrows)