improved term mode by allowing C-<left> to move backward by words