[Geany] tuning Geany key combos

John Gabriele jmg3000 at xxxxx
Mon Jul 16 18:16:32 UTC 2007


On 7/16/07, Enrico Tröger <enrico.troeger at uvena.de> wrote:
> On Tue, 26 Jun 2007 16:29:27 +0200, Enrico Tröger
> <enrico.troeger at uvena.de> wrote:
>
> Hi,
>
> > >    * Tab, Shift-Tab --> use Ctrl-9 & Ctrl-0 to indent/de-indent
> > >      by one space, and Ctrl-) & Ctrl-( to indent/de-indent by
> > >      one tab width.
>
> > Who needs indentation by one space? I want to keep the Tab/Shift-Tab
>
> FYI: indent/deindent by one space was added in SVN r1705.
> No default keybinding.
>

Neat. :) I've been waiting to be able to map indent/unindent to
Ctrl-0/9, and also indent-/unindent-by-single-space to Shift-Ctrl-)/(.
Ahh... feels nice. :)

Incidentally, I notice that when I try to unindent (de-dent?
de-indent? dent? ;) ) by one space, it actually pops me back to the
nearest indent level (in my case, multiples of 4 spaces). This is
probably connected with the nice and slick feature that allows me to
hit backspace once and back up one indent level (which is a
much-appreciated feature!). Is there any way to have it always just
move one space in either direction, without any extra indentation
magic?

Also, when I unindent by one space, Geany often extends the selection
on me. For example, in a .py file:

'''

,---.
| x |
`---'

'''

If I select just the box in the middle, it indents-by-single-space
fine, but unindenting-by-single-space extends the selection downward.

---John


More information about the Users mailing list