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
/
v0a.sh
blob
a4da57db08ba6334a7dcbc7b9a1974ed34e3326c
1
# vi commands
2
echo
":e
$1
"
3
printf
"iabc
\e
"
4
printf
"o
\e
"
5
printf
"odef
\e
"
6
printf
"oghi.
\e
"
7
printf
"ojkl
\e
"
8
printf
"1G5J"
9
printf
"i^
\e
"
10
echo
":w"
11
echo
":q"
12
13
# the expected output
14
echo
"abc def ghi.^ jkl"
>&
2