Skip to content

Global Shortcuts should trample Vim Mode shortcuts consistently or in an explainable way. #510

Description

@corpserot

Stock ZenNotes v2.29.0 with Vim Mode enabled cannot open the Search Notes palette inside notes because Ctrl+P is being consumed by the Ctrl+P command in Vim Mode first which is to move the cursor up, like k and Up. Ctrl+W for Close Active Tab is also consumed by Vim Mode first, which is the prefix to access panes commands.

Other keybindings confusingly does trample over Vim Mode's commands. Notably Ctrl+F searches within the current note and Ctrl+B bolds text (Both of which are non configurable editor shortcuts). In (Neo)vim, the view should move one entire pageview forward/backward respectively.

Proposed Approach

Considering that global shortcuts are likely meant to trample Vim Mode shortcuts, I say just trample Vim Mode. Otherwise, another solution is to add a config attached to the action's shortcut to toggle Vim Mode trampling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions