test for dir OR file
set up vim