Skip to main content

effect_mutates_or_yanks

Function effect_mutates_or_yanks 

Source
pub fn effect_mutates_or_yanks(effect: &Effect) -> bool
Expand description

5.5.G.23: True if the Effect indicates an operator-class action (the buffer changed or content was yanked). Used by Visual mode to decide whether to auto-exit after the dispatch — motions in Visual should not exit; d / y / c should.