smart_dd_no_yank_empty_line

Function smart_dd_no_yank_empty_line 

Source
fn smart_dd_no_yank_empty_line(_: ()) -> String
Expand description

Return the RHS for a smart dd mapping that skips yanking blank lines.

Produces "_dd when the current line is entirely whitespace; otherwise dd.

Intended for an expr mapping.