3 ms·
That package has another excellent way of learning vi commands... The 'quiz' program had the data set of 'ed' ( https://github.com/vattam/BSDGames/tree/master/
by shagie 9y ago
That package has another excellent way of learning vi commands...
The 'quiz' program had the data set of 'ed' ( https://github.com/vattam/BSDGames/tree/master/quiz https://github.com/vattam/BSDGames/tree/master/quiz / https://github.com/vattam/BSDGames/blob/master/quiz/datfiles/ed https://github.com/vattam/BSDGames/blob/master/quiz/datfiles... )
print whole file:1,$p|g/[^|$]/p
So it would print out "print whole file" and you could enter one of:
1,$p
g/^/p
g/$/p
Hunt is also in that repo.