#!/bin/sh
tmpfile="$(mktemp /tmp/st-XXXXXX)"
cat >"$tmpfile"
st -e nvim -c 'normal G' -R "$tmpfile"
rm -f "$tmpfile"