diff options
author | Ron Yorston | 2021-04-15 12:03:22 +0100 |
---|---|---|
committer | Denys Vlasenko | 2021-04-15 13:09:12 +0200 |
commit | d6e653d667bc1eb343014508a8bddb3dd4945f78 (patch) | |
tree | c628220816cde751484d83c9b5773fe504243f58 /coreutils | |
parent | 38ae0f3e3e9490c5b8cc3b917c2d896404afddbe (diff) | |
download | busybox-d6e653d667bc1eb343014508a8bddb3dd4945f78.zip busybox-d6e653d667bc1eb343014508a8bddb3dd4945f78.tar.gz |
vi: don't move cursor when yanking whole lines
When whole lines are yanked using 'yy' or 'Y' vi doesn't change the
cursor position. Make BusyBox vi do the same.
function old new delta
do_cmd 4776 4786 +10
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/0 up/down: 10/0) Total: 10 bytes
Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
0 files changed, 0 insertions, 0 deletions