<div dir="ltr">I wrapped the repeated test infrastructure in a `vitest` function and inlined the dozens of tiny input files.<div><br>I shortened some of the test inputs to be clearer and discovered a couple bugs, left for now as commented out tests:<br>* `b` movement is off by one.<br>* Deleting/moving the last part of the last line of the file is off by one, usually leaving the final character in place.<br></div></div>