smart_ident_on_blank_line

Function smart_ident_on_blank_line 

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

Return the RHS for a smart normal-mode i mapping.

If the current line is blank, returns "_cc (replace line without yanking); otherwise returns i.

Intended to be used with an expr mapping and .expr(true) in [SetKeymapOpts].