diff options
author | Elliott Hughes <enh@google.com> | 2019-09-07 00:12:42 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-09-07 03:21:17 -0500 |
commit | acc9e87d164dcb037ab86cd2ecff7262d4b13792 (patch) | |
tree | 8587c125270ceac8fe96b507a0ae25ede03f2048 /toys/pending/fold.c | |
parent | 08a810562cfc41f8cc2f51b361b932cbe6e47009 (diff) | |
download | toybox-acc9e87d164dcb037ab86cd2ecff7262d4b13792.tar.gz |
vi: small fixes.
I really needed to be able to edit a file on the device, and this was
the nearest thing handy, and it turns out to be more or less usable for
basic editing, so...
Support cursor keys.
Support :q (since there's currently no record of whether the file's
modified or not, :q is the same as :q!).
Add 'A' to insert at end of line.
Add 'n' to find next after '/'.
Fix backspace all the way to get out of ex command mode.
Fix escape sequences to not hard-code assumptions about the terminal's
default background and foreground colors.
Fix 'spesial' typo for 'special', and remove explicit array sizes.
Diffstat (limited to 'toys/pending/fold.c')
0 files changed, 0 insertions, 0 deletions