ex: increase the maximum number of buffers
[neatvi.git] / test / v13.sh
blob2427b6298d32fcd4c17eb81c5de46ed3f1146517
1 # vi commands
2 echo ":e $1"
3 echo ":set ic"
4 printf "iABC\e"
5 printf "oDEF\e"
6 printf "oGHI\e"
7 echo '1G/def'
8 printf "i1\e"
9 echo ":set noic"
10 echo '/ghi'
11 printf "i2\e"
12 echo ":w"
13 echo ":q"
15 # the expected output
16 echo "ABC" >&2
17 echo "21DEF" >&2
18 echo "GHI" >&2