Pressing the INS key gives you a choice of several ways to insert, which you choose between by pressing one of the Versor arrow keys.
The LEFT and RIGHT arrow keys let you insert before or after the selection.
The UP arrow key inserts two entries from the kill ring, one before and one after the selection; that is to say, it inserts around the selection. This is compatible with Versor's way of deleting a multipart selection such as a pair of opening and closing brackets Deletion.
These are defined in versor-insertion-placement-keymap
.
Having chosen where to make an insertion, you must choose which one of several kinds of things to insert. The choices are as follows:
if-then
statement in the programming language handled by the
current major mode. This is meant for use when inserting around the
selection; it wraps the selection in the conditional statement.
Statement insertions such as this are very basic string insertions;
Languide (see Alterations (languide))
has more sophisticated ones,
which use the template and skeleton insertion systems, and can
maintain indentation and spacing better.
if-then-else
statement in the programming language handled by the
current major mode.
while
statement in the programming language handled by the
current major mode.