Re: Override "emulated tabs" when editing Makefiles?
"Offer Kaye" <[email protected]>
| Newsgroups | gmane.editors.nedit.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 20, 2008 at 8:23 PM, AVKuznetsov <kuzn-Z+4OxV1pPnQgONJHhpZ/[email protected]> 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 -- NEdit Discuss mailing list - [email protected] http://www.nedit.org/mailman/listinfo/discuss