Skip to content

let certain minor-mode's key bindings override evil's default key bindings #511

Closed
@TheBB

Description

@TheBB

Originally reported by: Bin Chen (Bitbucket: redguardtoo, GitHub: redguardtoo)


for example, git-timemachine will use "n", "p", "q" "g" key bindings.

I need a list like evil-set-initial-state, but it's for minor-modes.

for certain minor-modes, I could:

  • use the keybindings defined in major-mode, but let this minor mode take precedence

  • OR, use emacs keybindings if the minor is loaded and restore its original key bindings if the minor-mode is turned off.


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions