next previous up contents index
Next: Moving Lines Previous: Deleting Lines Up: First Steps


Copying Lines

You will frequently face the fact that you need one line twice. Of course, you do not need to type it in twice. The command

copies the lines you have specified (from and to are line numbers) beneath the current line. If you wish to copy one line, you only need to specify the number of this line. If you leave out both line specifications, exaEdit copies (doubles) the current line.

Besides the real line numbers, exaEdit recognizes symbolic line numbers, i.e.

Examples for the COPY command:
copy 100 200 copies the lines from 100 to 200 beneath the current line.
co doubles the current line.
co * doubles the current line.
co p doubles the line before the current line.
co p * copies the line before the current line and the current line beneath the current line, i.e. it changes the two lines a b to the four lines a b a b, if b was the current line, before.
co f l copies all lines beneath the current line (only possible if the current line is the last line or the top line).
An additional method to copy lines you will find in the section Prefix Commands.
next previous up contents index
Next: Moving Lines Previous: Deleting Lines Up: First Steps