### vim:ft=zsh:foldmethod=marker

local -a vopts
local editor=$1
vopts=( -p )

if [[ -z ${editor} ]] ; then
    printf 'vim_backend "binaryname"\n'
    return 1
fi
shift
command ${editor} ${vopts} "$@"