(→Directly Copy / Move a Block Using a Single Key) |
(→Block Function Key Behavior) |
||
| Line 25: | Line 25: | ||
The “Normal” vEdit keyboard layout assigns <kbd>F9</kbd> to <kbd>BLOCK</kbd> > <kbd>Set stream marker</kbd>. Alternatively you could assign <kbd>F9</kbd> to <kbd>BLOCK</kbd> > <kbd>Copy to cursor</kbd>. <kbd>F9</kbd> would then perform a convenient combination of setting block markers and copying a block of text. (Earlier versions of vEdit did this.) | The “Normal” vEdit keyboard layout assigns <kbd>F9</kbd> to <kbd>BLOCK</kbd> > <kbd>Set stream marker</kbd>. Alternatively you could assign <kbd>F9</kbd> to <kbd>BLOCK</kbd> > <kbd>Copy to cursor</kbd>. <kbd>F9</kbd> would then perform a convenient combination of setting block markers and copying a block of text. (Earlier versions of vEdit did this.) | ||
| − | Copying a block of text to two or more places in your file or into another file is best done with the use of a scratchpad (text registers).</ | + | Copying a block of text to two or more places in your file or into another file is best done with the use of a scratchpad (text registers).</div> |
==Related Resources== | ==Related Resources== | ||
BLOCK > Copy to cursor and BLOCK > Move to cursor save steps when performing the common operations of copying or moving a block of text within your file.
Instead of having to first copy or cut the block to the scratchpad/clipboard, you can simply copy/move a highlighted block to the current cursor position. This is possible because vEdit’s blocks are persistent if BLOCK > Persistent blocks is enabled (checked) — after highlighting a block, you can move the cursor and the block remains highlighted.
BLOCK > Copy / Move to cursor can also be used to set block markers. Their operation depends upon how many block markers are set; see the table below. In this way, only a single key is needed to copy a block of text.
Alternatively, use Alt-F9 to move the block.
The “Normal” vEdit keyboard layout assigns F9 to BLOCK > Set stream marker. Alternatively you could assign F9 to BLOCK > Copy to cursor. F9 would then perform a convenient combination of setting block markers and copying a block of text. (Earlier versions of vEdit did this.)
Copying a block of text to two or more places in your file or into another file is best done with the use of a scratchpad (text registers).