vi style editing in bash