vi like style editing for command line