[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] Re: vim modelines in nano

From: Jordi Mallach
Subject: [Nano-devel] Re: vim modelines in nano
Date: Sat, 14 Dec 2002 23:18:32 +0100
User-agent: Mutt/1.4i

Hi Hans,
The best nano contact address is address@hidden, as it reaches every
person involved with it.

This would be nice to support, maybe someone wants to study the idea.


[message left intact for the list members]

On Sat, Dec 14, 2002 at 09:53:09AM +0100, Hans Ginzel wrote:
>       Hello,
>    thank you for nano, editors for beginers and instalation purposes.
>    I wish it would support compatible modelines as Vi(m) has. Modelines
> are lines in the beginning or end of file, which contain usefull setting
> for editor for the file. It is very handy, when the file takes with
> itself setting of tabular stops, shift width, nowraping long lines.
> There are textfiles and programfiles; each needs a little different
> editor behaviour. I often use this in my perl scripts:
>       ### vi: set ts=4 sw=4 nowrap:
> or in html files:
>       <!-- vi: set ts=2 sw=2 tw=78 linebreak fo+=2: -->
>    The most used options are tabstop, siftwidth, (no)wrap, textwidth, other
> could be ignored.
>    See
>       :help modeline
>       :help 'tabstop'
> in VIM for explanation.
>    See do_modelines() and chk_modeline() in
> usr/src/vim-6.1.048/src/buffer.c.
>       Thanks and best regards
>                                               Hans Ginzel
> --

Jordi Mallach PĂ©rez  --  Debian developer
address@hidden     address@hidden
GnuPG public key information available at

Attachment: pgpHOtYihC8aX.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]