On Wed, Mar 26, 2008 at 03:47:47PM +0200, Eugene V. Lyubimkin wrote:
> Bob Rossi wrote:
> > Hi,
> >
> > I'm considering deprecating shortcut mode in the next release of cgdb.
> >
> > I get complaints on a monthly basis that when in shortcut mode, 'n'
> > is 'next' in gdb, but it collides with the next search functionality.
> >
> > So, I'm thinking this is a flaw in the cgdb interface, all it does is
> > confuse users. Currently, when in the source window,
> > F5 triggers the GDB 'run' command.
> > F6 triggers the GDB 'continue' command.
> > F7 triggers the GDB 'finish' command.
> > F8 triggers the GDB 'next' command.
> > F10 triggers the GDB 'step' command.
> > These are all the shortcut options that you get while in shortcut mode.
> > So, if I remove the shortcut mode option, you can still get all of the
> > same functionality via the F keys.
> >
> > However, if a user is absolutely addicted to the shortcut mode, there is
> > still a solution. The user can type ':map n :next<CR>'.
> >
> > Does anyone have any reservations about me removing this option?
> >
> > Does anyone support the idea of me removing this option?
> >
> > Thanks,
> > Bob Rossi
> >
> >
>
> Hello, Bob.
>
> So, If you remember I don't support such removing at all. Because cgdb
> with such shortcuts allows me not touch Fxx keys at all - same as I do
> when I use vim.
>
> But. If the next release allow full support of ":map" command in the
> start config (and I'll be able to write 5-7 ":map" commands and receive
> same functionality as it is now), let it be as you want :)
Yes, this is the intention, in fact, I'll write in the NEWS file the
exact map commands that you can add to your .cgdbrc file to get the
behavior of shortcut mode.
Bob Rossi
|