ex: increase the maximum number of buffers
[neatvi.git] / test / v10.sh
blobfddfc9440e06188bd83bae9b2862a231ed9409ae
1 # vi commands
2 echo ":e $1"
3 printf "iabc\e"
4 printf "odef\e"
5 printf "oghi\e"
6 printf '"add'
7 printf 'dd'
8 printf '"bdd'
9 printf 'P"ap"bp'
10 echo ":4d"
11 echo ":w"
12 echo ":q"
14 # the expected output
15 echo "def" >&2
16 echo "ghi" >&2
17 echo "abc" >&2