ex: increase the maximum number of buffers
[neatvi.git] / test / v16.sh
blobdff570ec96fb8efb98e1ac50fdcafd5a864f1d1d
1 # vi commands
2 echo ":e $1"
3 printf "iabc abc abc\e"
4 printf "oabc abc abc\e"
5 printf "oabc abc abc\e"
6 echo ":2,3s/abc/111/"
7 echo ":%s/abc/222/g"
8 echo ":w"
9 echo ":q"
11 # the expected output
12 echo "222 222 222" >&2
13 echo "111 222 222" >&2
14 echo "111 222 222" >&2