⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sgml.vim

📁 MSYS在windows下模拟了一个类unix的终端
💻 VIM
字号:
" Vim syntax file" Language:	SGML-DTD (supported by sgmltools-2.x and DocBook)"		For more information, visit"		http://nis-www.lanl.gov/~rosalia/mydocs/docbook-intro.html"		ftp://sourceware.cygnus.com/pub/docbook-tools" Maintainer:	Sung-Hyun Nam <namsh@kldp.org>"		If you want to enhance and maintain, You can remove my name"		and insert yours." Last Change:	2001 May 10" For version 5.x: Clear all syntax items" For version 6.x: Quit when a syntax file was already loadedif version < 600  syntax clearelseif exists("b:current_syntax")  finishendiflet sgml_cpo_save = &cposet cpo=syn case ignore" tagssyn match   sgmlTagError ">"syn match   sgmlErrInTag contained "<"syn region  sgmlEndTag	start=+</[a-zA-Z]+ end=+>+ contains=sgmlTagNamesyn match   sgmlEndTag	"</>"syn region  sgmlTag	start=+<[a-zA-Z]+ end=+>+			\ contains=sgmlTagName,sgmlAssignsyn region  sgmlStr	contained start=+L\="+ end=+"+syn region  sgmlAssign  contained start=+=+hs=e+1 end=+[ \t\>]+me=s-1			\ contains=sgmlStrsyn region  sgmlSpecial oneline start="&" end=";"syn region  sgmlComment start=+<!--+ end=+-->+syn region  sgmlDocEnt  contained start="<!\(entity\|element\)\s" end=">"			\ contains=sgmlStrsyn region  sgmlDocEntI contained start=+\[+ end=+]+ contains=sgmlDocEntsyn region  sgmlDocType start=+<!doctype\s+ end=+>+			\ contains=sgmlDocEntI,sgmlStr" tag names for DTD DocBook V3.[01]syn match   sgmlTagName contained "sect\d\+"syn match   sgmlTagName contained "sect\d\+info"syn match   sgmlTagName contained "refsect\d\+"syn keyword sgmlTagName contained abbrev abstract accel acronym action address				\ affiliation alt anchor answer appendix				\ application				\ area areaset areaspec arg artheader article				\ artpagenums attribution author authorblurb				\ authorgroup authorinitials bibliodiv				\ biblioentry bibliography bibliomixed				\ bibliomset biblioset blockquote book				\ bookbiblio bookinfo bridgehead callout				\ calloutlist caption caution chapter citation				\ citerefentry citetitle city classname				\ cmdsynopsis colophon colspec command comment				\ computeroutput constant copyright corpauthor				\ corpname country database date dedication				\ docinfo edition editor email emphasis entry				\ envar epigraph equation errorcode errorname				\ errortype example fax figure filename				\ firstname firstterm footnote footnoteref				\ foreignphrase formalpara funcdef funcparams				\ funcprototype funcsynopsis funcsynopsisinfo				\ function glossary glossdef glossdiv				\ glossentry glosslist glosssee glossseealso				\ glossterm graphic group guibutton guiicon				\ guilabel guimenu guimenuitem guisubmenu				\ hardware holder honorific imagedata				\ imageobject important index indexdiv				\ indexentry indexterm informalequation				\ informalexample informalfigure informaltable				\ inlineequation inlinegraphic				\ inlinemediaobject interface				\ interfacedefinition isbn issn issuenum				\ itemizedlist jobtitle keycap keycode				\ keycombo keysym legalnotice lineannotation				\ link listitem literal literallayout manvolnum				\ markup medialabel mediaobject member				\ mousebutton msg msgaud msgentry msgexplan				\ msginfo msglevel msgmain msgorig msgrel				\ msgset msgsub msgtext note objectinfo option				\ optional orderedlist orgdiv orgname				\ otheraddr othername pagenums para paramdef				\ parameter part partintro phone phrase				\ postcode preface primary primaryie procedure				\ productname programlisting programlistingco				\ prompt property pubdate publisher				\ publishername qandadiv qandaentry qandaset				\ question quote refdescriptor refentry				\ refentrytitle reference refmeta refmiscinfo				\ refname				\ refnamediv refpurpose refsynopsisdiv				\ releaseinfo replaceable returnvalue				\ revhistory revision revnumber revremark row				\ sbr screen screeninfo screenshot secondary				\ secondaryie section see seealso seealsoie				\ seeie seg seglistitem segmentedlist segtitle				\ seriesinfo set setinfo sgmltag shortaffil				\ sidebar simpara simplelist simplesect				\ spanspec state step street structfield				\ structname subscript substeps subtitle				\ superscript surname symbol synopsis				\ systemitem table tbody term tertiaryie				\ textobject tgroup thead tip title				\ titleabbrev toc token trademark type ulink				\ userinput varargs variablelist varlistentry				\ varname videodata videoobject void volumenum				\ warning wordasword xref year" Define the default highlighting." For version 5.7 and earlier: only when not done already" For version 5.8 and later: only when an item doesn't have highlighting yetif version >= 508 || !exists("did_sgml_syntax_inits")  if version < 508    let did_sgml_syntax_inits = 1    command -nargs=+ HiLink hi link <args>  else    command -nargs=+ HiLink hi def link <args>  endif  HiLink sgmlTag	Special  HiLink sgmlEndTag	Special  HiLink sgmlEntity	Type  HiLink sgmlDocEnt    Type  HiLink sgmlTagName	Statement  HiLink sgmlComment	Comment  HiLink sgmlSpecial	Special  HiLink sgmlDocType   PreProc  HiLink sgmlStr	String  HiLink sgmlAssign	String  HiLink sgmlTagError	Error  HiLink sgmlErrInTag	Error  delcommand HiLinkendiflet b:current_syntax = "sgml"let &cpo = sgml_cpo_saveunlet sgml_cpo_save" vim:set tw=78 ts=8 sts=2 sw=2 noet com=nb\:":

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -