[Geany-devel] Indent width keybinding(s) / code

Dimitar Zhekov dimitar.zhekov at xxxxx
Sat Oct 30 15:08:34 UTC 2010


On Thu, 28 Oct 2010 12:51:19 +0100
Nick Treleaven <nick.treleaven at btinternet.com> wrote:

> On Wed, 27 Oct 2010 21:18:07 +0300
> Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:
> 
> > 3. It would be nice to have the Document -> Indent Width -> #
> > commands bindable to keys. Personally I don't use Ctrl+# for sending
> > selection to custom commands...
> 
> I think it would be better to have a single keybinding that prompted
> for the indent width rather than (re)assign those shortcuts.

I'd really prefer separate keys... Well, maybe I'll write a short
plugin, "Quick Indent" or something, that (1) adds these keybinding and
(2) includes a "Redinent all documents" function, which will apply the
current settings to all open files. Ever since per-document indent took
place, we have no way to quickly reindent all open project files, and
that bugs me.

-- 
E-gards: Jimmy



More information about the Devel mailing list