use vim autosave
use $EDITOR
default $EDITOR is vim