[Geany-Devel] VTE resetting and handling of ^C and ^D

Colomban Wendling lists.ban at herbesfolles.org
Fri Dec 7 14:40:40 UTC 2012


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).

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 :)

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configurable-vte-forced-keys.patch
Type: text/x-patch
Size: 4400 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20121207/7e7634e2/attachment.bin>


More information about the Devel mailing list