ugdb
ugdb copied to clipboard
Support readline movement keys
Hello.
Great project, something that I thought about starting making myself at some point, but did not really get into it ever. I just stumbled upon this and would like to use it as my go-to debugger UI, replacing cgdb. However, there's an issue that makes this nice looking software unusable for me.
The one thing missing is supporting readline movement keys on the gdb command line. I never use home/end myself and readline's ctrl+a and ctrl+e are in my muscle memory (and I would assume I'm not the only one).
On the negative side, supporting these keys would conflict with some of the shortcuts that are already there. I would still prefer readline movement keys and change the existing ones to something else.
Hi! Nice to hear that you see some potential in ugdb. I was actually thinking about adding support for some more advanced movements (e.g., move forward to the next word etc.) to the line editor for another project which would make it quite easy to hook it up in ugdb as well. So I might get around to that soon!
I'm not too worried about changing the existing shortcuts. We will have to see which keys are left untouched from the standard readline bindings and how to best map those to the remaining functions. In the end it would be nice to be able to configure that via a config file, but I'm not sure how soon that will happen.
On 28.08.2021 11:55, Antti Keränen wrote:
Hello.
Great project, something that I thought about starting making myself at some point, but did not really get into it ever. I just stumbled upon this and would like to use it as my go-to debugger UI, replacing
cgdb. However, there's an issue that makes this nice looking software unusable for me.The one thing missing is supporting readline movement keys on the gdb command line. I never use home/end myself and readline's ctrl+a and ctrl+e are in my muscle memory (and I would assume I'm not the only one).
On the negative side, supporting these keys would conflict with some of the shortcuts that are already there. I would still prefer readline movement keys and change the existing ones to something else.
-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/ftilde/ugdb/issues/20
Nice to hear! Thanks for the effort.
+1 for the idea of a config file for key bindings.