[Geany] revisiting default keyboard shortcuts: a proposed solution

Enrico Tröger enrico.troeger at xxxxx
Tue Sep 4 15:43:04 UTC 2007


On Tue, 4 Sep 2007 09:41:13 -0400, "John Gabriele" <jmg3000 at gmail.com>
wrote:

> On 9/4/07, Nick Treleaven <nick.treleaven at btinternet.com> wrote:
> > On 09/04/2007 12:57:45 AM, John Gabriele wrote:
> > > [...]
> > > Geany is a powerful GUI programmer's editor. As such, we should be
> > > taking advantage of the key bindings available. This means using
> > > Ctrl-Alt ... as well as Shift-Alt.
> > >
> > I agree. I think you summed up everything well, thanks John.
+1.


> > Finally then, this leaves us with the Ctrl-Alt modifier. I propose
> > > this be used for how Shift-Alt has previously been used: for
> > > special, possibly-less-used or advanced features. This would
> > > include:
> > >
> > > * Ctrl-Alt-D to insert the date
> > >
> > I guess that's less common, so maybe we could use that even though
> > it won't work by default on Gnome.
Hmm, I don't like this. We set a keybinding while knowing it won't work
on Gnome? Not that I'm a Gnome fan but I guess there are several people
using Geany on Gnome(GTK2...). So, I would agree with John and change
it to Ctrl-Alt-D.

> > > And possibly these, having to do with changing case:
> > >
> > > * Ctrl-Alt-U (think "all *U*pper or lowercase") to toggle
> > > selection between all upper and lowercase.
I would prefer toggling as suggested by Nick and using Ctrl-U.

> > > * Ctrl-Alt-C ('c' for "capitalize") to make the current word start
> > > with a capital letter and then move the cursor to the end of that
> > > word
> > > * Ctrl-Alt-L ('l' for "lowercase") to make the current word start
> > > with
> > > a lowercase letter and then move the cursor to the end of that
> > > word
> > >
> > Maybe - but can you explain what situations would you use that?
> 
> I've used these occasionally while re-writing plain text ... breaking
> long sentences in two, or gluing short ones together, or just editing
> something that's not capitalized correctly. It's not used all that
This is somewhat I would expect to be used very rarely and so I don't
think we really need this. When ever keybindings work together with
plugins someone could just write a plugin to add it.

> I hesitate to suggest using Ctrl-U, just because changing case does
> not seem like something that's needed terribly often, and also because
Maybe not used very often by you. I don't use it that often too, but
sometimes I'm really happy this feature exists. I don't know how often
other users use it.

> Also, those Ctrl-foo keys are pretty valuable keyboard real estate. :)
> I keep feeling like you're going to find something really useful and
> common that you're going to want to use them for. For example, after
> loading a tags file, personally, I'd expect to use Ctrl-< to go to tag
> definition, and use Ctrl-> to go back to where I previously was, but
> seeing as how Enrico seems to often prefer using letters, I could see
There is even a reason why I do this ;-).
For example, take Ctrl+{[,]}: on a German keyboard you have to press
Ctrl-Alt GR-{8,9}. And as one mentioned in the first keybindings thread
on some keyboard it is even necessary to use a modifier to just type
numbers. The letters a-z should be on most keyboards accessable without
any other action and so IMO we should prefer these letters whenever
possible.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20070904/9633f6e2/attachment.pgp>


More information about the Users mailing list