Skip to content

evil: make minibuffer evilification optional #7780

Description

@Atemu

I confirm that...

  • I have searched the issue tracker, documentation, FAQ, Discourse, and Google, in case this issue has already been reported/resolved.

  • I have read "How to Debug Issues", and will use it to provide as much information about this issue as possible.

  • The issue can be reproduced on the latest available commit of Doom.

  • The issue can be reproduced on a stable release of Emacs, such as 27, 28, or 29. (Unstable versions end in .50, .60, or .9x)

Expected behavior

I do not want my minibuffer evilifed but I do want +everywhere for major modes. There should be an option to leave the default key binds unmodified (e.g. +minibuffer).

I generally only want major mode evilification and leader keys.

Current behavior

Upstream evil-collection has evil-collection-setup-minibuffer for configuring that aspect but doom-emacs overrides it unconditionally:

https://github.com/doomemacs/doomemacs/blob/5f5a163c49207a7083ab1ecc9e78d268fd6600b8/modules/config/default/%2Bevil-bindings.el#L7-L34

Doom should either respect the upstream variable or have its own variable.

Related issue:

#6325

Steps to reproduce

  1. Open Emacs
  2. Want evil major modes and leader keys but default keybinds everywhere else
  3. Find no option to configure it

System Information

https://pastebin.com/z6czCYHp

Metadata

Metadata

Assignees

No one assigned

    Labels

    :config defaultPertains to Doom's :config default moduleis:featureAdds or requests new features, or extends existing onesre:evilFor users with evil/vim emulation enabledre:keybindsChanges to or discussion about Doom's keybinds

    Fields

    Open to PRs

    No PRs

    Priority

    None yet

    Projects

    Status
    In progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions