Re: [PHP-DOC] Contribution to new HOWTO - editing w/ VIM From: eschmid+sic <email protected>
Date: 08/28/00

On Mon, Aug 28, 2000 at 02:52:36PM -0700, Jesus Castagnetto wrote:

> [The first time I sent this I forgot to put a subject and it never
> appeared on the list]
>
>
> Some days ago someone in the list was mentioning that he/she was
> working on a new HOWTO for phpdoc. I use VIM for editing the XML and
> would like to contribute the settings I found helpful:
>
> --- included text from my .vimrc
>
> set ts=4
> set sw=4
> set ai
> set tw=78
> set bs=2
> set expandtab
> auto BufReadPost *.xml retab! 4
> auto BufWritePre *.xml retab! 4
> auto BufWritePost *.xml retab! 4
> auto BufNewFile *.xml set ts=4
>
> " The functions below are not critical for XML, just useful in gral.
> "
> " define my XML/HTML tag creation function
> " pass a second parameter to set the number of tabs to use for

My God, you may be have never have been in the church of Emacs.

-Egon

-- 
http://www.linuxtag.de/
http://php.net/books.php 
http://www.concert-band.de/