repo.or.cz
/
neatvi.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ex: increase the maximum number of buffers
[neatvi.git]
/
test
/
v0c.sh
blob
957bc1a4a5a4c9593fa8af389072a86a910c1a79
1
# vi commands
2
echo
":e
$1
"
3
printf
"iabc def ghi
\e
"
4
echo
"?abc"
5
printf
"i1
\e
"
6
echo
"/ghi"
7
printf
"i2
\e
"
8
echo
":w"
9
echo
":q"
10
11
# the expected output
12
echo
"1abc def 2ghi"
>&
2