[Geany] tuning Geany key combos

Enrico Tröger enrico.troeger at xxxxx
Thu Jul 5 19:15:20 UTC 2007


On Thu, 5 Jul 2007 15:09:58 -0400, "John Gabriele" <jmg3000 at gmail.com>
wrote:

> On 7/5/07, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> > On Thu, 5 Jul 2007 12:47:30 -0400, "John Gabriele"
> > <jmg3000 at gmail.com> wrote:
> >
> > > > >
> > > > > [snip]
> > > >
> > > > > * Shift-Alt-L to select line
> > > >
> > > > Shift-Alt-L is currently used a "Line Delete" by Scintilla, but
> > > > I suggest to remove the Line Delete feature (because of
> > > > probably rare usage) and use Shift-Alt-L for select line.
> > >
> > > Actually, that's Shift-Ctrl-L to delete current line, not
> > > Shift-Alt-L
> > Oops, sorry.
> >
> > > (and Ctrl-L cuts the line). Deleting (or else cutting) the current
> > > line is very handy, IMO. Though I'm used to both GNU Emacs and GNU
> > > nano using Ctrl-K for it. Ctrl-L seems more like it should be "go
> > > to
> >
> > The Gnome HIG says in Table 10.4 "Emacs-style navigation keys for
> > widgets" Ctrl-U for delete current line.
> 
> That's odd. Might be an error. In Emacs, Ctrl-U is a prefix key -- you
Probably, just wanted to mention it.

> > It really seems there is no sane way to provide defaults to make all
> > happy. Sigh.
> > But we could bind Delete line or Cut line to Ctrl-K (and the other
> > one to Ctrl-Shift-K or Ctrl-Alt-K, I don't care) and bind Go to
> > line to Ctrl -L. What do you think?
> 
> That sounds preferable and easy to remember to me (delete line:
> Ctrl-K, cut line: Shift-Ctrl-K, go to line: Ctrl-L).
Ok, I'll do it tomorrow if nobody complains ;-).

> > > Incidentally, I don't see "delete current line" (or "cut current
> > > line") listed in Help --> Keyboard shortcuts, or in Edit -->
> > > Preferences --> Keybindings. I guess those 2 places are only for
> > > Geany-specific (outside of Scintilla defaults) bindings?
> >
> > Yes. Ctrl-L is a Scintilla binding but could be rebind by Geany (as
> > we have already done for example for Ctrl-A).
> 
> I see that you can steal a key-binding from Scintilla, and have Geany
> override it. But, can you re-bind some other key to a
> Scintilla-specific command, such as "delete line" or "cut line"? I
Yes, no problem.

> don't see either of those listed in Preferences --> Keybindings.
Not yet ;-). I'll add them tomorrow together with the Line transpose
feature which is currently bound to Ctrl-T (by Scintilla). I think we
keep this default but make it changeable through Geany.

Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.key
Powered by Debian GNU/Linux, GnuPG and Sylpheed.
-------------- 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/20070705/0aa73c94/attachment.pgp>


More information about the Users mailing list