vimsend (223B)
1 #!/bin/sh 2 # Send a file to Vim 3 case "$1" in 4 /*) fpath="$1";; 5 *) fpath="$(pwd)/$1";; 6 esac 7 8 # Have to use $fpath directly here otherwise opens two windows 9 # shellcheck disable=SC2059 10 printf "]51;[\"drop\", \"$fpath\"]"