use vi on commandline, and fix ctrl-p wildcards to be directories