nano-devel
[Top][All Lists]
Advanced

[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.

Jordi

[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
> 
> --
> http://www.linuxjournal.com/article.php?sid=6488
> http://www.parrotcode.org/
> http://practicalperl.com/slides/L02/slide_000.html

-- 
Jordi Mallach PĂ©rez  --  Debian developer     http://www.debian.org/
address@hidden     address@hidden     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/

Attachment: pgpHOtYihC8aX.pgp
Description: PGP signature


reply via email to

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