busybox/editors
Denys Vlasenko e88608eae2 vi: don't touch file with :x when modified_count == 0
Along with it, there are other changes

 - Check for uppercase X is removed as the expression will be always false and
   :X itself is another totally different command in standard vim
 - The status line will show number of written lines instead of lines requested
   by the colon command.  This is also how the standard vim is doing, though
   the difference is that '!' has to be explicitly specified in vim to allow
   partial writes

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-03-13 20:50:42 +01:00
..
awk.c awk: fix segfault on for loop syntax error 2016-10-24 02:09:56 +02:00
cmp.c switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
Config.src Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
diff.c Big cleanup in config help and description 2017-01-10 14:58:54 +01:00
ed.c *: hopefully all setup_common_bufsiz() are in place 2016-04-21 18:38:51 +02:00
Kbuild.src switch editors/* to embedded-in-source kbuild system 2013-11-13 12:45:33 +01:00
patch_bbox.c Use unsigned printf/scanf conversion where more appropriate 2013-11-29 16:45:45 +01:00
patch_toybox.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
patch.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
sed_summary.htm doc: add info about sed s/.../.../I modifier 2008-03-01 19:29:56 +00:00
sed.c Code style fixes, no code changes 2016-11-28 01:22:57 +01:00
sed1line.txt add sed mini-doc 2007-11-13 17:13:31 +00:00
vi.c vi: don't touch file with :x when modified_count == 0 2017-03-13 20:50:42 +01:00