doomemacs / doomemacs/core

Inconsistent evil keybinding in magit-blob-mode

Open
#8,817 2 comments 0 reactions 0 assignees View on GitHub
:editor evil
Dominant language
Emacs Lisp
Stars
22.7k
Forks
3.1k
Avg merge
10h 46m
Merged PRs (30d)
4

Description

### Describe your issue

In `magit-blob-mode`, for example when entering Ediff mode in Magit for editing the index, the Magit keybindings conflict with the editing process. For example, `p` is bound to `magit-blob-previous` instead of `evil-paste-after` in normal mode. Or even in insert state, `f` is bound to `magit-blame-reverse`. This makes working with the index buffer in magit impossible unless my workflow is not conventional (in that case, how could the index buffer be edited?)

### Steps to reproduce

1. Open Emacs
2. Open a project using git as vc
3. Make some changes
4. Open Magit status page: `M-x magit-status`
5. Move cursor over a hunk and press `e` which opens Ediff (`magit-ediff-dwim`)
6. Move cursor to index buff (the buffer with `~{index}~` suffix)
7. Go to insert mode
8. Type `foo`

### System information

[doom-info.log](https://github.com/user-attachments/files/28910636/doom-info.log)

### Disclosures

- [ ] This issue was written with/by AI.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.