Override "emulated tabs" when editing Makefiles?
Offer Kaye
offer.kaye at gmail.com
Thu May 22 10:24:56 CEST 2008
On Tue, May 20, 2008 at 8:23 PM, AVKuznetsov <kuzn at htsc.mephi.ru> wrote:
>
> Hi,
>
> you can try the following.
>
> In the Program Smart Indent menu set for the Makefile mode
> ... [snip] ...
AV - thanks, this worked! At first I thought it didn't but then I
remembered to actually turn on Smart Indent :) Thanks again!
For those suggesting Ctrl-Tab - on KDE this is bound to switching
between desktops, which I find very nice and I would hate to override
it. And in any case I think AV's solution is better :)
Before I saw AV's solution I used the workaround of having a macro that does:
replace_all("^\\s+", "\\t", "regex")
And I would just run it on the file before saving. But now that I have
AV's solution I can stop doing that :)
Cheers,
--
Offer Kaye
More information about the Discuss
mailing list