add func_run_file and update vim invoke