mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
For some reason, the transient-append-suffix adding magit-worktree back to magit-dispatch — after its potential replacement by magit-gitflow-popup — was having no effect. (It does when moved into (after! magit-gitflow), so the issue must have something to do with when transient-append-suffix is called.) magit-worktree wasn't appearing in the magit-dispatch popup when magit-gitflow was enabled, nor was the '*' keybind for magit-worktree in effect outside (or inside) the popup, unlike '%' for magit-gitflow-popup. Replace the ineffectual transient-append-suffix with a normal and visual mode keybind for magit-worktree in magit-mode-map (and move the unconditionally defined keybind for magit-gitflow-popup into (after! magit-gitflow)). Also, append the magit-gitflow-popup transient suffix to magit-worktree instead of replacing it, so that the latter still appears in magit-dispatch (though under the original keybind 'Z' — which isn't really an issue, since evil-collection-magit doesn't seem to update the keybinds of any of the other commands accessible from magit-dispatch — but also callable with '*').
:tools
Description
Modules that integrate external tools into Emacs.
Frequently asked questions
This category has no FAQs yet. Ask one?