Skip to content

editor.evil=false maintains some evil behaviorΒ #72

Open
@thomie

Description

@thomie

Even with editor.evil=false, evil-helix still collapses selections when entering insert mode.

The problem is that EvilCommands::is_enabled() always returns true:

pub fn is_enabled() -> bool {
true
}

It is used here for example:

pub fn enter_insert_mode(cx: &mut Context) {
if EvilCommands::is_enabled() {
// In evil mode, selections are possible in the selection/visual mode only.
EvilCommands::collapse_selections(cx, CollapseMode::Backward);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions