On 8 December 2012 01:40, Colomban Wendling lists.ban@herbesfolles.org wrote:
Le 06/12/2012 22:53, Lex Trotman a écrit :
[...]
We already have an "Override Geany keybindings" in the terminal prefs, that actually overrides everything but focus keybindings. But for some reason, this is a setting and it is not enabled by default. And if it remains a setting, we somewhat *have to* let required stuff like ^C go through in any cases.
Ok, that makes sense, in the overridden case all keys except focus switch ones go to VTE and in the non-overriden case only a specified list go to the VTE (^c, ^d, ^z, ^x, ^o (for nano for git commits) can't think of any others).
If you want to go down the "my favorite text-based editor for Git commit should work" I think the keys must then me more or less configurable, because not everybody uses Nano, and if they don't use Nano ^X and ^O aren't required (and ^O looks like a keybinding one could want to open the open dialog even in the VTE).
Well, I would much prefer a git plugin which used Geany itself for the commit editor (and not a separate instance), do you think there will ever be such a thing? ;)
So a really naive "configurability" like the attached patch might be needed then (or even a more real binding description, but that's somewhat a detail).
What about if the vte is not focussed?
Don't worry, the key eating only happens if the VTE is focused :)
Ok, fine.
Cheers Lex
Regards, Colomban
These two lists should be in a table in the manual in keybindings section, and the vte setting section referring to that table.
Cheers Lex
Devel mailing list Devel@lists.geany.org https://lists.geany.org/cgi-bin/mailman/listinfo/devel