diff options
author | Jarno Mäkipää <jmakip87@gmail.com> | 2019-04-13 15:25:59 +0300 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-04-22 14:49:33 -0500 |
commit | 580a88f1a60c7f990cca703f54b8815fca1e918e (patch) | |
tree | c6612133afcfec736e82113738e5d4eb848a25b3 /lib/net.c | |
parent | 99bca934a1fef61753dcdb582003dc7d56150031 (diff) | |
download | toybox-580a88f1a60c7f990cca703f54b8815fca1e918e.tar.gz |
vi.c changes to vi cmd execution
Reimplemented to command mode execution to follow vi cmd pattern.
(REG)[COUNT0]{CMD}[COUNT1]<MOV>(SYM)
Most of the moves can be executed intependently or before command,
some require character after. (possibly with utf8)
Some of the commands do not require move, such as D, J, dd, yy, x...
There is also tons of special cases where move behaves differently
depending on command. For example 1cw and 1ce appear to be the same
but 1dw and 1de are not...
Most of the operations still need reimplementing and lots of cleanup
in order them to behave correctly
refactored word move to work with utf-8
Diffstat (limited to 'lib/net.c')
0 files changed, 0 insertions, 0 deletions