Re: [Cgdb-users] key bindings
Brought to you by:
bobbybrasko,
crouchingturbo
From: James L. <le...@al...> - 2004-08-18 21:34:05
|
Hi Mike, > > 2. I can't seem to get vi mode in readline in cgdb. Is it > > allowed? It works in plain gdb. > > I just realized this will not work because CGDB catches <ESC> and does its > own thing, so you'll never be able to send <ESC> to gdb/readline. Our > current use of ESC/i makes it impossible... Under the current framework, I agree that it will not work since <esc> is being used in vi to set modes, while cgdb uses it to jump to source window. However, in your proposed version 1.0, where window movements uses ctl-w, this could be ok. > Thinking about this more generally, if we do what we plan on doing, which > is that ESC/i does the 'normal' vi command/insert mode switching (but > doesn't change the focused window), readline's vi-mode won't work either. > In either case, we're snagging the <ESC> key before you can send it to > gdb. this part, I don't quite understand. What will you be snagging <esc> for in the new version? Are you planning on allowing editing in source window? > James, I hope you're a patient man. :) These revisions to > cgdb have been in the works for a while, but we haven't a > long way to go still. I honestly have no idea how long > it'll be before a new version comes out. Yes, I will be patient. Even now, cgdb 0.50 is very useful for me already. I'm sure version 1.0 will be great. Thanks for the work. James. |