Skip to main content

visual_paste

Function visual_paste 

Source
pub fn visual_paste<H: Host>(ed: &mut Editor<View, H>, before: bool)
Expand description

Visual-mode p / P — replace the active selection with the register. With p the deleted selection lands in the unnamed register (vim’s swap); with P (before = true) the source register is preserved so it can be pasted over multiple selections in turn.