Lines Matching defs:vi
1 /* $NetBSD: vi.c,v 1.8 2019/01/27 02:08:34 pgoyette Exp $ */
16 static const char sccsid[] = "Id: vi.c,v 10.73 2002/04/11 19:49:30 skimo Exp (Berkeley) Date: 2002/04/11 19:49:30 ";
19 __RCSID("$NetBSD: vi.c,v 1.8 2019/01/27 02:08:34 pgoyette Exp $");
36 #include "vi.h"
57 * The dot structure can be set by the underlying vi functions,
64 * vi --
65 * Main vi command loop.
67 * PUBLIC: int vi __P((SCR **));
70 vi(SCR **spp)
95 /* Initialize the vi screen. */
158 * Vi historically flushed mapped characters on error, but
161 * put leading <escape> characters in maps to clean up vi
259 "232|vi: temporary buffer not released");
317 * Some vi row movements are "attracted" to the last position
319 * commands' candle. If the movement is to the EOL the vi
375 "110|Vi command failed: mapped keys discarded");
420 /* If leaving vi, return to the main editor loop. */
460 * Get a vi command.
493 * Keys are not simple. (Although vi's command structure less complex
499 * is itself a vi command, with the syntax:
628 * vi/v_undo.c:v_undo for details.
687 * vi meta-character, and we don't want the user to wait while
689 * historic vi practice, but with mapping characters, You Just
831 * historic vi permitted a "cc" or "!!" command to insert
913 * historic vi allowed "c<motion>" or "!<motion>" to insert
988 * Initialize the vi screen.
999 /* Switch into vi. */
1120 * used for cursor-word searching and for tags. Historical vi
1141 * Historically, vi accepted any non-blank as initial character
1258 * Historically, vi beeped on command level interrupts.
1260 * Historically, vi exited to ex mode if no file was
1275 * The vi loop will return because of this, and then
1277 * the world and will call the vi loop again.