(→Block Function Key Behavior) |
(→Directly Copy / Move a Block Using a Single Key) |
||
| Line 20: | Line 20: | ||
*'''Functions:''' Copy to cursor, '''Key:''' <kbd>Ctrl-F9</kbd>, '''No Maker Set:''' Set 1st Marker, '''1st Marker Set:''' Set 2nd Marker, '''2nd Marker Set:''' Copy to cursor | *'''Functions:''' Copy to cursor, '''Key:''' <kbd>Ctrl-F9</kbd>, '''No Maker Set:''' Set 1st Marker, '''1st Marker Set:''' Set 2nd Marker, '''2nd Marker Set:''' Copy to cursor | ||
*'''Functions:''' Move to cursor, '''Key:''' <kbd>Alt-F9</kbd>, '''No Maker Set:''' Set 1st Marker, '''1st Marker Set:''' Set 2nd Marker, '''2nd Marker Set:''' Move to cursor | *'''Functions:''' Move to cursor, '''Key:''' <kbd>Alt-F9</kbd>, '''No Maker Set:''' Set 1st Marker, '''1st Marker Set:''' Set 2nd Marker, '''2nd Marker Set:''' Move to cursor | ||
| + | |||
| + | <div class="callout note"><kbd>BLOCK</kbd> > <kbd>Persistent blocks</kbd> must be enabled (checked) for these functions to work. | ||
| + | |||
| + | 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). | ||
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).