Re: VIM + SGML
Hallo Frank!
Frank Barknecht schrieb am Mittwoch, 27. Dezember 2000:
> Waldemar Brodkorb hat gesagt: // Waldemar Brodkorb wrote:
>
> > Hallo VIM-Profis,
> >
> > Wie kann ich unter VIM angenehm SGML-Dokumente erstellen?
> > Mit Emacs im psgml-Modus kann man hervorragend z.B.
> > mit C-c C-v mit nsgml einen Syntaxcheck durchführen und
> > mit C-c C-e Tags einfügen.
> >
> > Syntaxhighlighting funktioniert bereits, aber wie ist es mit diesen
> > arbeitserleichterten Shortcuts?
> > Gibt es da was vorgefertigtes oder muss ich mir irgendwelche
> > Keybindings selbst erstellen? Im Netz konnze ich nichts dazu finden.
>
> hast du mal unter vim.org ein bisschen gestöbert, da gibt es jede Menge
> Verweise auf Makro-Files für alles mögliche. Ob SGML dabei ist, weiß ich
> aber jetzt auch nicht.
Vielleicht blickst Du mal auf die vim - URL's:
" URL: http://www.zellner.org/vim/indent/xml.vim
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
" NameOfFile: <runtime>/indent/xml.vim
" Description: xml indenter
" Author: Johannes Zellner <johannes@zellner.org>
" Last Change: Son, 01 Okt 2000 10:34:10 +0200
" Version: 1.0
" Usage: drop this file in <runtime>/indent
" Notes: 1) does not indent pure non-xml code (e.g. embedded scripts)
" 2) will be confused by unbalanced tags in comments
" or CDATA sections.
in Verbindung mit
" URL: http://www.zellner.org/vim/syntax/xml.vim
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
" Vim syntax file
" Language: XML
" Maintainer: Johannes Zellner <johannes@zellner.org>
" Author and previous maintainer:
" Paul Siegmann <pauls@euronet.nl>
" Filenames: *.xml
" Last Change: Thu, 09 Nov 2000 00:06:29 +0100
sowie
ftp://tritarget.com/pub/vim/scripts/xmledit.vim
A new version has been placed at my FTP site for the xmledit.vim script.
" This script provides some convenience when editing XML (and some SGML)
" formated documents. <M-5> will jump to the beginning or end of the tag block
" your cursor is in. % will jump between '<' and '>' within the tag your
" cursor is in. when in insert mode and you finish a tag (pressing '>') the
" tag will be completed. If you press '>' twice it will complete the tag and
" break it across a blank. If you want to enter a literal '>' without
" parsing use <M-.>
Grüße - Wilhelm
--
(°> Wilhelm Wienemann <ww@kalwien.regio.rhein-ruhr.de> -°) -°)
//\ Grüße vom NiederRhein, der Region mit R(h)einKultur /\\ /\\
V_/_ _\_V _\_V
--
-----------------------------------------------------------
Um sich aus der Liste auszutragen schicken Sie bitte eine
E-Mail an debian-user-de-request@lehmanns.de die im Subject
"unsubscribe <deine_email_adresse>" enthaelt.
Bei Problemen bitte eine Mail an: Jan.Otto@Lehmanns.de
-----------------------------------------------------------
692 eingetragene Mitglieder in dieser Liste.
Reply to: