Next: , Previous: Deletion, Up: Further commands



4.2 Insertion

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:

delete
DEL
C-y
The top item(s) on the kill ring
1..9
The top N items on the kill ring
C-s
the most recent search string
(
[
{
<
A pair of brackets, the opening bracket being the character typed
?
An 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.
%
An if-then-else statement in the programming language handled by the current major mode.
@
A while statement in the programming language handled by the current major mode.
=
A variable declaration in the programming language handled by the current major mode
&
|
!
An “and”, “or” or “not” expression in the programming language handled by the current major mode
f
The name of the file in the next window. (if there is only one window, the name of the file in that window is inserted).

SourceForge.net Logo