$NetBSD$ Move the cursor back for vi-cmd-mode (like vi(1), editline(3), etc.). --- ed.chared.c.orig 2015-08-19 14:29:55.000000000 +0000 +++ ed.chared.c @@ -1404,14 +1404,8 @@ v_cmd_mode(Char c) inputmode = MODE_INSERT; c_alternativ_key_map(1); -#ifdef notdef - /* - * We don't want to move the cursor, because all the editing - * commands don't include the character under the cursor. - */ if (Cursor > InputBuf) Cursor--; -#endif RefCursor(); return(CC_NORM); }