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
Rationale: Debugging #16
Comments
I recently heard about it and I'm going to give it a try real soon once I leave the realm of Elisp... |
Also see the link of the DOOM config in the readme: it will lead you directly to a file full of bindings. |
Hmnn, I'm starting to want to set up some debugger keys. The problem with is really precedence. When a debugger is in play, how much precedence should it have over regular keys (even navigation keys)? For example, playing with indium today,
The short keys takes over n, i, o, c, l, s, q, h, e (all very good keys in normal state). But you could make the case when a debugger is up, most likely that's the highest priority thing in your workflow. Some options:
Pro: navigation keys are in tact
Pro: Mostly helps with the above
As described above already. I'm thinking 4 is probably ideal but open to opinions. At some point I'll take a look and add debugger keys for modes that I actually use. |
Have you considered a separate state or a hydra, rather than hijacking movement keys in normal state? |
The separate state thing I was thinking about before but the number of states might be too excessive. Dunno. The debug mode being on is already some kind of extra transient state already so I was thinking it might be overkill to use another one. As for hydra, I use hydra myself but I find launching the hydra and using it not as nice an experience as single key debugging. That and not wanting to use hydra as a dependency is another reason why I didn't consider it. Overriding some normal keys (maybe not the highest priority keys) have some precedence in emacs already though with edebug, realgud, gdb-mi?, etc kinda taking over in that way. |
Added first pass of both realgud/debugger rationale/debugger keys for indium/realgud. It actually works fairly well when the given constraints are consistent. |
Closing this for now, if anyone had any other opinions on debugger bindings, feel free to reopen. |
It'd be good to make some requests too. :)
I'd like to see realgud (especially the shortkey mode keymap) set up for evil.
I don't use realgud yet because I don't have bindings set up and setting it up just to set up bindings for the future is a little daunting.
It'd be great if anyone already had something for realgud. I think the DOOM config might have something for it...
The text was updated successfully, but these errors were encountered: