[Zope-dev] (vim with) ctags and zpt, genericsetup xml and zcml

Florian Friesdorf flo at chaoflow.net
Fri Oct 23 10:57:27 EDT 2009


I use vim with ctags which works fine for python code but I would like
to give it some understanding for page templates, genericsetup xml files
and zcml files.

Is anybody doing this and would like to share the necessary language
definitions?

To also use this mail to transport knowledge ;)

" fast switching between .py .pt and .txt
let g:alternateExtensions_py = "pt,txt"
let g:alternateExtensions_pt = "py,txt"
let g:alternateExtensions_txt = "py,pt"

in combination with http://www.vim.org/scripts/script.php?script_id=31
enables fast switching (:A) between these files. If all three are
present, txt will not be reached (yet) by fast switching.


florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20091023/7f9971f5/attachment.bin 


More information about the Zope-Dev mailing list