[[ and ]] are no longer bound to comint-previous-prompt and comint-next-prompt
- Dominant language
- Emacs Lisp
- Stars
- 22.7k
- Forks
- 3.1k
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 4
Description
### Describe your issue
Since evil-collection commit 8db8a959, [[ and ]] are no longer bound to comint-previous-prompt and comint-next-prompt in normal state.
Here is a hypothesis from Claude Code:
Doom adds "[" and "]" to evil-collection-key-blacklist in modules/editor/evil/config.el. That commit extended the blacklist check from exact match to prefix match, so [[ and ]] are now blocked because they start with the blacklisted [ and ].
usage of ai:
I used claude for spell correction and to generate an hypothesis on what is hapening
### Steps to reproduce
0. doomemacss with module evil enabled
1. 1. M-x shell
2. in normal state, C-h c [[ you get evil-backward-section-begin
### System information
[doominfo.txt](https://github.com/user-attachments/files/28726177/doominfo.txt)
### Disclosures
- [x] This issue was written with/by AI.
Contributor guide
Research direction
Start by reading modules/editor/evil/config.el and evil-collection commit 8db8a959, then reproduce the issue with M-x shell in normal state and C-h c [[ or ]]. Trace how evil-collection-key-blacklist is checked against these keys. Done means [[ and ]] again invoke comint-previous-prompt and comint-next-prompt in the reported setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs-lisp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100