Re: [Cgdb-users] key bindings
Brought to you by:
bobbybrasko,
crouchingturbo
From: Mike M. <mmu...@cs...> - 2004-08-18 05:35:32
|
> 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 it= s own thing, so you'll never be able to send <ESC> to gdb/readline. Our current use of ESC/i makes it impossible... 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.= =20 In either case, we're snagging the <ESC> key before you can send it to gdb. I definitely see where you're coming from with this. It seems like in th= e context of the gdb window, there should be no command mode for cgdb, it'l= l always be in insert mode. That way if your readline is configured for vi-mode, you can use it normally. Bob, do you agree with this assessment? I believe it doesn't affect our design at all, but I'm not completely sure. 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. Mike |