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

Eugene Arshinov earshinov at xxxxx
Mon Aug 16 19:34:07 UTC 2010


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.

Best regards,
Eugene.



More information about the Devel mailing list