diakonos/help/clipboard.dhf

45 lines
1.9 KiB
Text

# The Clipboard
To select text, press <Ctrl-space>. This marks (or "anchors") one end of the
text you wish to select. Use any movement keys (such as the arrow keys) to move the
cursor to the other end of the text you wish to select. As you do so, you will see
the selection grow, being highlighted in a different colour. To work with the
selection, press one of the following key chords:
<Ctrl-C> to copy
<Ctrl-X> to cut
<Ctrl-V> to paste
<Alt-U> to unselect the text
Diakonos also lets you cut one or more lines of text without needing to
delineate a selection. Pressing <Ctrl-K> once cuts the current line and
places it in the clipboard. You can press <Ctrl-K> more times to cut and add
more lines.
<Ctrl-Alt-K> will cut from the cursor to the end of the current line.
Diakonos also supports synchronization with Klipper, the KDE clipboard
manager. This requires DCOP to be installed. Uncomment the indicated line
in the configuration file. Alternatively, synchronization with the X
clipboard can be accomplished with xclip (third-party software). Uncomment
the xclip line for xclip usage.
## Block Selection
Diakonos supports block selection. This allows you to select and work with
rectangular highlighted areas instead of selecting text the usual way (as a
left-to-right flow of characters).
To change to block selection mode, press <Alt-Shift-M,B>. The status line will
indicate "block" mode. To change to normal selection mode, press
<Alt-Shift-M,N>. Mnemonic: M for Mark, B for Block, N for Normal.
## Advanced Selection
Press <Alt-space> to select the current code block. That is, the lines which
are at the same depth of indentation as the current line. Press <Alt-space>
more times to select each successive parent block (i.e., lines at shallower
levels of indentation).
Tags: clipboard copy cut paste kde klipper dcop select selecting selection selected unselect unselecting mark marking highlight eol line block column