added the functionality of opening a vim editor if the input is only t
add