[Geany-devel] snippet keybindings? - Re: [PATCH] Some editor/snippets/keybindings enhancements

Lex Trotman elextr at xxxxx
Tue Aug 17 00:08:08 UTC 2010

On 17 August 2010 05:34, Eugene Arshinov <earshinov at gmail.com> wrote:
> Hi Nick
> On Mon, 16 Aug 2010 13:41:00 +0100%
> Nick Treleaven <nick.treleaven at btinternet.com> wrote:
>> On Sat, 10 Jul 2010 21:48:35 +0400
>> Eugene Arshinov <earshinov at gmail.com> wrote:
>> > I attach three patches:
>> Thanks; as we're preparing a bugfix release I haven't looked at them,
>> but anyway:
> No problem, it can wait.
>> > 2. Snippet keybindings support
>> Not sure about this - shouldn't the keybinding be typing the snippet
>> name and pressing tab ;-) I use short names to minimise typing - b for
>> a brace pair, c for a multiline comment.
> I tried, but even b<tab> seems too long for me to type in order to get a
> brace pair.  I must note, an easier and quicker way of inserting a brace
> pair is the main reason of why I wrote this patch, and I agree that
> there may be not so many uses of snippet keybindings.
>> If we do want snippet keybindings perhaps it would be better to
>> integrate with the existing keybindings rather than storing them
>> separately - then users could configure them in the normal way.
> It's worth thinking.

Hi Eugene,

This could be a bit of work since the number of snippets is variable
and the keybindings GUI is fixed.  I had a quick look a while ago with
the view of allowing the extra build commands to have keybindings but
never came up with a simple way of handling variable numbers of

If you decide to add a general way of adding variable numbers of
entries in the keybindings GUI it could then be used elsewhere.


> Best regards,
> Eugene.
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel

More information about the Devel mailing list