Skip to content
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
This repository was archived by the owner on Apr 16, 2026. It is now read-only.

vim use of keydown and keypress preventing codemirrorIgnore? #2915

@dalejung

Description

@dalejung

As far as I can tell, the move to on('keydown') and on('keypress')` is circumventing the normal way of preventing codemirror from doing things with events.

What's the proper way to register a keyevent handler that can prevent the keymap from firing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions