Skip to main content

≡ Dup

This is very similar to the Copy action, except that it doesn't modify the system clipboard, as it treats the current selection(s) as the copied text(s).

Keymap

Loading...

Duplicate

ActionMeaning
< DupDuplicate current selection BEFORE the current selection
Dup >Duplicate current selection AFTER the current selection

Duplicate the current selection before/after the current selection, without automatic gaps insertion.

Loading...

Vertical Duplication

ActionMeaning
Dup ^Duplicate current selection ABOVE the current selection
Dup vDuplicate current selection BELOW the current selection

Duplicate current selection above/below the current selection, following the indentation of the first/last line of the current selection (which can be multiple lines).

Loading...

Gapped Duplication

ActionMeaning
< Gap DupDuplicate current selection BEFORE the current selection with gaps between the current selection and the </> selection(s)
Gap Dup >Duplicate current selection AFTER the current selection with gaps between the current selection and the </> selection(s)
<< Gap DupDuplicate current selection BEFORE the current selection with gaps between the current selection and the <</>> selection(s)
Gap Dup >>Duplicate current selection AFTER the current selection with gaps between the current selection and the <</>> selection(s)

Gapped Duplication works by analyzing the gap between the current selection and the </>/<</>> selection, then insert the gap before/after the pasted text.

Loading...