Friday, June 17, 2011

Fw: Vim and XML -- best setup ?

Begin forwarded message:

Date: Sat, 18 Jun 2011 09:15:20 +0300
From: Shlomi Fish <shlomif@shlomifish.org> (by way of Shlomi Fish
<shlomif@shlomifish.org>) To: vim_use@googlegroups.com
Cc: meino.cramer@gmx.de
Subject: Re: Vim and XML -- best setup ?


Hi mcc,

On Sat, 18 Jun 2011 07:40:03 +0200 meino.cramer@gmx.de wrote:

>
> Hi,
>
> in the *very* near future I will to hack a lot XML/XSLT/XSL/XMP...

I don't know what XMP is:

http://en.wikipedia.org/wiki/Extensible_Metadata_Platform

Oh well.

> stuff at work and I will do it with vim.
> Unfortunately I am not allowed to install any binary
> executable (with the exeption of the vim package, which is
> already there) on the machine.

Wow! I am keep being amazed at how workplaces suck with their policies.
How big is your company?

> I am allowed to install "text
> files" (read: vim scripts and setups) in my $HOME.
>
> Due to the lack of time I cannot go deep into "search and explore"-
> mode to find THE working setup for "the best way" to edit
> xml-like stuff with vim.
>
> So I would be very happy if I could get some hints here to
> speed things up a little...
>
> Are there any things to prefer for such a task and worth to
> check?

Well, I like this XML plugin:
http://www.vim.org/scripts/script.php?script_id=1397 . It has many
useful functions to add tags, change tags, etc.

Vim also has useful syntax highlighting modes for XML, XSLT, etc.
which you should look into.

You may also wish to install one of the snippets plugins such as
snipMate or UltiSnips.

Regards,

Shlomi Fish

>
> Thank you very much in advance for any <hint> ;)

It should be <hint />. ;-)

Regards,

Shlomi Fish

--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Apple Inc. is Evil - http://www.shlomifish.org/open-source/anti/apple/

<PerlJam> I'm trying to achieve world peace and this regex is the last
thing standing in my way! ;)

Please reply to list if it's a mailing list post - http://shlom.in/reply


--
-----------------------------------------------------------------
Shlomi Fish http://www.shlomifish.org/
http://www.shlomifish.org/humour/ways_to_do_it.html

Stray XSLT code causes more deaths than road accidents.

Please reply to list if it's a mailing list post - http://shlom.in/reply

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: