How to customize the shortcut key for gdbtui ?
Pedro Alves
palves@redhat.com
Fri Jul 6 15:31:00 GMT 2012
On 07/04/2012 06:03 AM, Tom Frank wrote:
> I want to change the ctrl-L shortcut key to ctrl-a?
>
>
> How can I modify the source code for this ?
gdb uses readline, so what you need is to tweak your readline
bindings (also used by bash). E.g., you can bind the readline
clear-screen function to c-a by putting
"\C-a": clear-screen
in your .inputrc. See the GNU Readline manual.
--
Pedro Alves
More information about the Gdb
mailing list