-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CIDER Debugger bindings are overriden by Normal Mode #13594
Comments
I also have this issue. In my tests keys Manually using
I have uses a very simple project to test this at https://github.com/practicalli/exercism-clojure-guides/tree/master/two-fer |
This comment has been minimized.
This comment has been minimized.
One possible solution is to use |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Unfortunately this issue is still occurring and a noticeable error in behavior when using Spacemacs for Clojure development. |
Addresses syl20bnr#13594. Now the debug map should have priority over all bindings apart from transient maps.
I cannot exactly reproduce this, all of the keys call the cider bindings for me. The following existing code should indeed overwrite all default normal state bindings: spacemacs/layers/+lang/clojure/funcs.el Lines 197 to 201 in 06067c3
However, I think we should not only override default bindings, but should give the debug map the highest priority by using |
Addresses syl20bnr#13594. Now the debug map should have priority over all bindings apart from transient maps.
Addresses #13594. Now the debug map should have priority over all bindings apart from transient maps.
Description
Many single-key CIDER commands, like
i
andc
for "into" and "continue" are interpreted as Normal Mode commands. Not only does this make the debugger unusable, but it makes it very easy to accidentally change the source code while you're debugging.In the meantime, I'm using
C-z
to switch to Emacs state while debugging, but it took me some digging to know to do that. Until this is solved, maybe aC-z
suggestion could be added to the in-buffer debugger tip?Reproduction guide 🪲
.clj
, run a CIDER repl withcider-jack-in-clj
SPC u , e f
i
orc
in the debugger.Observed behaviour: 👀 💔
Pressing
n
works for the debugger's "next".Pressing
i
orc
is overriden by Normal's "change" and "insert".Expected behaviour: ❤️ 😄
All keypresses are passed to CIDER debugger.
Not sure I want to be able to change the source code at all while in the debugging state.
System Info 💻
The text was updated successfully, but these errors were encountered: