Per-directory settings
wwp
subscript at free.fr
Fri Aug 25 18:21:01 CEST 2006
Hello Tony,
On Fri, 25 Aug 2006 12:04:05 -0400 Tony Balinski <ajbj at free.fr> wrote:
> Quoting wwp <subscript at free.fr>:
>
> > Hello there,
> >
> >
> > I wonder if nedit does or would allow to use different editor settings
> > following the directory it loads files from. IIRC vim has such behaviour,
> > it allows to set .vimrc files in directories so that different edition
> > settings are used. I use NEdit for years, and don't want to switch to
> > vim, at all :-).
>
> Not really. NEdit's configuration is rather monolithic, being almost
> entirely dependent on a single file, nedit.rc in the directory ~/.nedit.
> By defining the environment variable $NEDIT_HOME as a path, you can get it
> to look elsewhere for this file for an alternative configuration. A simple
> command wrapper shell script could be written to load up an alternative
> nedit.rc, containing something like:
[snip]
Many thanks for this detailed reply! I'll dig into the detail and see how I
can use the macro mechanism to override some settings according to the path
of the opened file. The scheme is simple here, I have a single root path for
files at work, any other location -> default settings; I'll see how I can
fine-tune this later.
Regards,
--
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.nedit.org/pipermail/discuss/attachments/20060825/7816a009/signature.bin
More information about the Discuss
mailing list