50a2db7dff
When the 'j'/'k' commands or up/down arrow keys are used to move the cursor vertically 'vi' remembers the original cursor column and positions the cursor there if possible. Also, if the '$' command has been used to position the cursor at the end of a line vertical movements keep the cursor at the end of the line. Make BusyBox 'vi' do the same. function old new delta refresh 674 694 +20 do_cmd 4853 4861 +8 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/0 up/down: 28/0) Total: 28 bytes Signed-off-by: Ron Yorston <rmy@pobox.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> |
||
---|---|---|
.. | ||
awk.c | ||
cmp.c | ||
Config.src | ||
diff.c | ||
ed.c | ||
Kbuild.src | ||
patch_bbox.c | ||
patch_toybox.c | ||
patch.c | ||
sed1line.txt | ||
sed_summary.htm | ||
sed.c | ||
vi.c |