Rc.vim 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. <!DOCTYPE html>
  2. <html lang="en" dir="ltr">
  3. <head>
  4. <meta charset="UTF-8" />
  5. <title>Rc.vim - tm5</title>
  6. <meta name="generator" content="MediaWiki 1.17.0" />
  7. <link rel="shortcut icon" href="/favicon.ico" />
  8. <link rel="search" type="application/opensearchdescription+xml" href="/opensearch_desc.php" title="tm5 (en)" />
  9. <link rel="EditURI" type="application/rsd+xml" href="http://tm.knmi.nl/api.php?action=rsd" />
  10. <link rel="alternate" type="application/atom+xml" title="tm5 Atom feed" href="/index.php?title=Special:RecentChanges&amp;feed=atom" />
  11. <link rel="stylesheet" href="/load.php?debug=false&amp;lang=en&amp;modules=mediawiki.legacy.commonPrint%2Cshared%7Cskins.vector&amp;only=styles&amp;skin=vector&amp;*" />
  12. <meta name="ResourceLoaderDynamicStyles" content="" />
  13. <!--[if lt IE 7]><style type="text/css">body{behavior:url("/skins/vector/csshover.min.htc")}</style><![endif]--></head>
  14. <body class="mediawiki ltr ns-0 ns-subject page-Rc_vim skin-vector">
  15. <div id="mw-page-base" class="noprint"></div>
  16. <div id="mw-head-base" class="noprint"></div>
  17. <!-- content -->
  18. <div id="content">
  19. <a id="top"></a>
  20. <div id="mw-js-message" style="display:none;"></div>
  21. <!-- firstHeading -->
  22. <h1 id="firstHeading" class="firstHeading">Rc.vim</h1>
  23. <!-- /firstHeading -->
  24. <!-- bodyContent -->
  25. <div id="bodyContent">
  26. <!-- tagline -->
  27. <div id="siteSub">From tm5</div>
  28. <!-- /tagline -->
  29. <!-- subtitle -->
  30. <div id="contentSub"></div>
  31. <!-- /subtitle -->
  32. <!-- jumpto -->
  33. <div id="jump-to-nav">
  34. Jump to: <a href="#mw-head">navigation</a>,
  35. <a href="#p-search">search</a>
  36. </div>
  37. <!-- /jumpto -->
  38. <!-- bodytext -->
  39. <p>Copy this file (make sure there is not problem with end-of-lines by running dos2unix on it):
  40. </p>
  41. <pre>" Copy-pasted a lot from examples of IDL.
  42. " Gives nice result for color scheme 'evening'
  43. " Feel free for hacking this file
  44. if version &lt; 600
  45. syntax clear
  46. elseif exists("b:current_syntax")
  47. finish
  48. endif
  49. syn keyword rcTodo contained TODO
  50. syn region rcString start=+"+ end=+"+
  51. syn region rcString start=+'+ end=+'+
  52. syn match rcRealNumber "\&lt;\d\+\(\.\=\d*e[+-]\=\d\+\|\.\d*d\|\.\d*\|d\)"
  53. syn match rcRealNumber "\.\d\+\(d\|e[+-]\=\d\+\)\="
  54. syn match rcNumber "\&lt;\.\@!\d\+\.\@!\(b\|u\|us\|s\|l\|ul\|ll\|ull\)\=\&gt;"
  55. syn match rcDblCommaError "\,\s*\,"
  56. syn match rcDefinition "^\s*\(.:\@!\)*.:"
  57. syn match rcVariable "\${\(\l\|\u\|\d\)*}"
  58. syn keyword rcNumber F T
  59. syn match rcStatement "#eval"
  60. syn match rcVariable "\(^\s*#eval\s*\)\@&lt;=\(\u\|\l\|\d\)*=\@="
  61. syn match rcComment "[\!].*$" contains=rcTodo
  62. " Define the default highlighting.
  63. " For version 5.7 and earlier: only when not done already
  64. " For version 5.8 and later: only when an item doesn't have highlighting yet
  65. if version &gt;= 508 ||&#160;!exists("did_idlang_syn_inits")
  66. if version &lt; 508
  67. let did_idlang_syn_inits = 1
  68. command -nargs=+ HiLink hi link &lt;args&gt;
  69. else
  70. command -nargs=+ HiLink hi def link &lt;args&gt;
  71. endif
  72. HiLink rcDefinition Type
  73. HiLink rcStatement Statement
  74. HiLink rcContinueLine Todo
  75. HiLink rcRealNumber Float
  76. HiLink rcNumber Number
  77. HiLink rcString String
  78. HiLink rcComment Comment
  79. HiLink rcTodo Todo
  80. HiLink rcDblCommaError Error
  81. HiLink rcVariable Special
  82. delcommand HiLink
  83. endif
  84. let b:current_syntax = "idlang"
  85. " vim: ts=18
  86. </pre>
  87. <!--
  88. NewPP limit report
  89. Preprocessor node count: 1/1000000
  90. Post-expand include size: 0/2097152 bytes
  91. Template argument size: 0/2097152 bytes
  92. Expensive parser function count: 0/100
  93. -->
  94. <!-- Saved in parser cache with key wikidb:pcache:idhash:78-0!*!0!!*!*!edit=0 and timestamp 20180712144133 -->
  95. <div class="printfooter">
  96. Retrieved from "<a href="http://tm.knmi.nl/index.php/Rc.vim">http://tm.knmi.nl/index.php/Rc.vim</a>"</div>
  97. <!-- /bodytext -->
  98. <!-- catlinks -->
  99. <div id='catlinks' class='catlinks catlinks-allhidden'></div> <!-- /catlinks -->
  100. <div class="visualClear"></div>
  101. </div>
  102. <!-- /bodyContent -->
  103. </div>
  104. <!-- /content -->
  105. <!-- header -->
  106. <div id="mw-head" class="noprint">
  107. <!-- 0 -->
  108. <div id="p-personal" class="">
  109. <h5>Personal tools</h5>
  110. <ul>
  111. <li id="pt-anonuserpage"><a href="/index.php/User:145.23.254.101" title="The user page for the IP address you are editing as [.]" accesskey="." class="new">145.23.254.101</a></li>
  112. <li id="pt-anontalk"><a href="/index.php/User_talk:145.23.254.101" title="Discussion about edits from this IP address [n]" accesskey="n" class="new">Talk for this IP address</a></li>
  113. <li id="pt-anonlogin"><a href="/index.php?title=Special:UserLogin&amp;returnto=Rc.vim" title="You are encouraged to log in; however, it is not mandatory [o]" accesskey="o">Log in</a></li>
  114. </ul>
  115. </div>
  116. <!-- /0 -->
  117. <div id="left-navigation">
  118. <!-- 0 -->
  119. <div id="p-namespaces" class="vectorTabs">
  120. <h5>Namespaces</h5>
  121. <ul>
  122. <li id="ca-nstab-main" class="selected"><span><a href="/index.php/Rc.vim" title="View the content page [c]" accesskey="c">Page</a></span></li>
  123. <li id="ca-talk" class="new"><span><a href="/index.php?title=Talk:Rc.vim&amp;action=edit&amp;redlink=1" title="Discussion about the content page [t]" accesskey="t">Discussion</a></span></li>
  124. </ul>
  125. </div>
  126. <!-- /0 -->
  127. <!-- 1 -->
  128. <div id="p-variants" class="vectorMenu emptyPortlet">
  129. <h5><span>Variants</span><a href="#"></a></h5>
  130. <div class="menu">
  131. <ul>
  132. </ul>
  133. </div>
  134. </div>
  135. <!-- /1 -->
  136. </div>
  137. <div id="right-navigation">
  138. <!-- 0 -->
  139. <div id="p-views" class="vectorTabs">
  140. <h5>Views</h5>
  141. <ul>
  142. <li id="ca-view" class="selected"><span><a href="/index.php/Rc.vim" >Read</a></span></li>
  143. <li id="ca-viewsource"><span><a href="/index.php?title=Rc.vim&amp;action=edit" title="This page is protected.&#10;You can view its source [e]" accesskey="e">View source</a></span></li>
  144. <li id="ca-history" class="collapsible "><span><a href="/index.php?title=Rc.vim&amp;action=history" title="Past revisions of this page [h]" accesskey="h">View history</a></span></li>
  145. </ul>
  146. </div>
  147. <!-- /0 -->
  148. <!-- 1 -->
  149. <div id="p-cactions" class="vectorMenu emptyPortlet">
  150. <h5><span>Actions</span><a href="#"></a></h5>
  151. <div class="menu">
  152. <ul>
  153. </ul>
  154. </div>
  155. </div>
  156. <!-- /1 -->
  157. <!-- 2 -->
  158. <div id="p-search">
  159. <h5><label for="searchInput">Search</label></h5>
  160. <form action="/index.php" id="searchform">
  161. <input type='hidden' name="title" value="Special:Search"/>
  162. <input id="searchInput" name="search" type="text" title="Search tm5 [f]" accesskey="f" value="" />
  163. <input type='submit' name="go" class="searchButton" id="searchGoButton" value="Go" title="Go to a page with this exact name if exists" />
  164. <input type="submit" name="fulltext" class="searchButton" id="mw-searchButton" value="Search" title="Search the pages for this text" />
  165. </form>
  166. </div>
  167. <!-- /2 -->
  168. </div>
  169. </div>
  170. <!-- /header -->
  171. <!-- panel -->
  172. <div id="mw-panel" class="noprint">
  173. <!-- logo -->
  174. <div id="p-logo"><a style="background-image: url(/skins/common/images/tm5.png);" href="/index.php/Main_Page" title="Visit the main page"></a></div>
  175. <!-- /logo -->
  176. <!-- navigation -->
  177. <div class="portal" id='p-navigation'>
  178. <h5>Navigation</h5>
  179. <div class="body">
  180. <ul>
  181. <li id="n-mainpage-description"><a href="/index.php/Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a></li>
  182. <li id="n-portal"><a href="/index.php/Tm5:Community_portal" title="About the project, what you can do, where to find things">Community portal</a></li>
  183. <li id="n-currentevents"><a href="/index.php/Tm5:Current_events" title="Find background information on current events">Current events</a></li>
  184. <li id="n-recentchanges"><a href="/index.php/Special:RecentChanges" title="The list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li>
  185. <li id="n-randompage"><a href="/index.php/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li>
  186. <li id="n-help"><a href="/index.php/Help:Contents" title="The place to find out">Help</a></li>
  187. </ul>
  188. </div>
  189. </div>
  190. <!-- /navigation -->
  191. <!-- SEARCH -->
  192. <!-- /SEARCH -->
  193. <!-- TOOLBOX -->
  194. <div class="portal" id="p-tb">
  195. <h5>Toolbox</h5>
  196. <div class="body">
  197. <ul>
  198. <li id="t-whatlinkshere"><a href="/index.php/Special:WhatLinksHere/Rc.vim" title="List of all wiki pages that link here [j]" accesskey="j">What links here</a></li>
  199. <li id="t-recentchangeslinked"><a href="/index.php/Special:RecentChangesLinked/Rc.vim" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li>
  200. <li id="t-specialpages"><a href="/index.php/Special:SpecialPages" title="List of all special pages [q]" accesskey="q">Special pages</a></li>
  201. <li id="t-print"><a href="/index.php?title=Rc.vim&amp;printable=yes" rel="alternate" title="Printable version of this page [p]" accesskey="p">Printable version</a></li>
  202. <li id="t-permalink"><a href="/index.php?title=Rc.vim&amp;oldid=168" title="Permanent link to this revision of the page">Permanent link</a></li>
  203. </ul>
  204. </div>
  205. </div>
  206. <!-- /TOOLBOX -->
  207. <!-- LANGUAGES -->
  208. <!-- /LANGUAGES -->
  209. </div>
  210. <!-- /panel -->
  211. <!-- footer -->
  212. <div id="footer">
  213. <ul id="footer-info">
  214. <li id="footer-info-lastmod"> This page was last modified on 18 July 2013, at 10:19.</li>
  215. <li id="footer-info-viewcount">This page has been accessed 1,374 times.</li>
  216. </ul>
  217. <ul id="footer-places">
  218. <li id="footer-places-privacy"><a href="/index.php/Tm5:Privacy_policy" title="Tm5:Privacy policy">Privacy policy</a></li>
  219. <li id="footer-places-about"><a href="/index.php/Tm5:About" title="Tm5:About">About tm5</a></li>
  220. <li id="footer-places-disclaimer"><a href="/index.php/Tm5:General_disclaimer" title="Tm5:General disclaimer">Disclaimers</a></li>
  221. </ul>
  222. <ul id="footer-icons" class="noprint">
  223. <li id="footer-poweredbyico">
  224. <a href="http://www.mediawiki.org/"><img src="/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31" /></a>
  225. </li>
  226. </ul>
  227. <div style="clear:both"></div>
  228. </div>
  229. <!-- /footer -->
  230. <script src="/load.php?debug=false&amp;lang=en&amp;modules=startup&amp;only=scripts&amp;skin=vector&amp;*"></script>
  231. <script>if ( window.mediaWiki ) {
  232. mediaWiki.config.set({"wgCanonicalNamespace": "", "wgCanonicalSpecialPageName": false, "wgNamespaceNumber": 0, "wgPageName": "Rc.vim", "wgTitle": "Rc.vim", "wgAction": "view", "wgArticleId": 78, "wgIsArticle": true, "wgUserName": null, "wgUserGroups": ["*"], "wgCurRevisionId": 168, "wgCategories": [], "wgBreakFrames": false, "wgRestrictionEdit": [], "wgRestrictionMove": []});
  233. }
  234. </script>
  235. <script>if ( window.mediaWiki ) {
  236. mediaWiki.loader.load(["mediawiki.util", "mediawiki.legacy.wikibits", "mediawiki.legacy.ajax"]);
  237. mediaWiki.loader.go();
  238. }
  239. </script>
  240. <script>if ( window.mediaWiki ) {
  241. mediaWiki.user.options.set({"ccmeonemails":0,"cols":80,"contextchars":50,"contextlines":5,"date":"default","diffonly":0,"disablemail":0,"disablesuggest":0,"editfont":"default","editondblclick":0,"editsection":1,"editsectiononrightclick":0,"enotifminoredits":0,"enotifrevealaddr":0,"enotifusertalkpages":1,"enotifwatchlistpages":0,"extendwatchlist":0,"externaldiff":0,"externaleditor":0,"fancysig":0,"forceeditsummary":0,"gender":"unknown","hideminor":0,"hidepatrolled":0,"highlightbroken":1,"imagesize":2,"justify":0,"math":1,"minordefault":0,"newpageshidepatrolled":0,"nocache":0,"noconvertlink":0,"norollbackdiff":0,"numberheadings":0,"previewonfirst":0,"previewontop":1,"quickbar":1,"rcdays":7,"rclimit":50,"rememberpassword":0,"rows":25,"searchlimit":20,"showhiddencats":0,"showjumplinks":1,"shownumberswatching":1,"showtoc":1,"showtoolbar":1,"skin":"vector","stubthreshold":0,"thumbsize":2,"underline":2,"uselivepreview":0,"usenewrc":0,"watchcreations":0,"watchdefault":0,"watchdeletion":0,
  242. "watchlistdays":3,"watchlisthideanons":0,"watchlisthidebots":0,"watchlisthideliu":0,"watchlisthideminor":0,"watchlisthideown":0,"watchlisthidepatrolled":0,"watchmoves":0,"wllimit":250,"variant":"en","language":"en","searchNs0":true,"searchNs1":false,"searchNs2":false,"searchNs3":false,"searchNs4":false,"searchNs5":false,"searchNs6":false,"searchNs7":false,"searchNs8":false,"searchNs9":false,"searchNs10":false,"searchNs11":false,"searchNs12":false,"searchNs13":false,"searchNs14":false,"searchNs15":false});;mediaWiki.loader.state({"user.options":"ready"});
  243. }
  244. </script> <!-- fixalpha -->
  245. <script type="text/javascript"> if ( window.isMSIE55 ) fixalpha(); </script>
  246. <!-- /fixalpha -->
  247. <!-- Served in 0.240 secs. --> </body>
  248. </html>