78 changed files with 7378 additions and 635 deletions
Binary file not shown.
@ -0,0 +1,40 @@
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<?xml-stylesheet type="text/xsl" href="chrome://liberator/content/help.xsl"?> |
||||
|
||||
<!DOCTYPE document SYSTEM "chrome://liberator/content/liberator.dtd"> |
||||
|
||||
<document |
||||
name="all" |
||||
title="&liberator.appname; All" |
||||
xmlns="http://vimperator.org/namespaces/liberator" |
||||
xmlns:html="http://www.w3.org/1999/xhtml"> |
||||
<tags>all</tags> |
||||
|
||||
<toc/> |
||||
|
||||
<include href="intro" tag="intro.html"/> |
||||
<include href="starting" tag="starting.html"/> |
||||
<include href="browsing" tag="browsing.html"/> |
||||
<include href="buffer" tag="buffer.html"/> |
||||
<include href="cmdline" tag="cmdline.html"/> |
||||
<include href="insert" tag="insert.html"/> |
||||
<include href="options" tag="options.html"/> |
||||
<include href="pattern" tag="pattern.html"/> |
||||
<include href="tabs" tag="tabs.html"/> |
||||
<include href="hints" tag="hints.html"/> |
||||
<include href="map" tag="map.html"/> |
||||
<include href="eval" tag="eval.html"/> |
||||
<include href="marks" tag="marks.html"/> |
||||
<include href="repeat" tag="repeat.html"/> |
||||
<include href="autocommands" tag="autocommands.html"/> |
||||
<include href="print" tag="print.html"/> |
||||
<include href="gui" tag="gui.html"/> |
||||
<include href="styling" tag="styling.html"/> |
||||
<include href="message" tag="message.html"/> |
||||
<include href="developer" tag="developer.html"/> |
||||
<include href="various" tag="various.html"/> |
||||
<include href="plugins" tag="plugins.html"/> |
||||
<include href="index" tag="index.html"/> |
||||
|
||||
</document> |
||||
<!-- vim:se sts=4 sw=4 et: --> |
@ -0,0 +1,101 @@
@@ -0,0 +1,101 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<?xml-stylesheet type="text/xsl" href="chrome://liberator/content/help.xsl"?> |
||||
|
||||
<!DOCTYPE document SYSTEM "chrome://liberator/content/liberator.dtd"> |
||||
|
||||
<document |
||||
name="autocommands" |
||||
title="&liberator.appname; Autocommands" |
||||
xmlns="http://vimperator.org/namespaces/liberator" |
||||
xmlns:html="http://www.w3.org/1999/xhtml"> |
||||
<h1 tag="autocommands">オートコマンド</h1> |
||||
<toc start="2"/> |
||||
|
||||
<p> |
||||
オートコマンドは特定のイベントが発生した際にコードを自動的に |
||||
実行する手段です。 |
||||
</p> |
||||
|
||||
<item> |
||||
<tags>:au :autocmd</tags> |
||||
<spec>:au[tocmd]</spec> |
||||
<description> |
||||
<p>イベントが発生した際にコマンドを自動的に実行します。</p> |
||||
|
||||
<p><ex>:au[tocmd]</ex> <a>event</a> <a>pat</a> <a>cmd</a></p> |
||||
|
||||
<p> |
||||
もし、<em>-javascript</em>(短縮名:<em>-js</em>)がしてされた場合、 |
||||
<a>cmd</a>は、JavaScriptコードとして実行されます。 |
||||
また、どの変数も引数として渡されます。 |
||||
</p> |
||||
|
||||
<p> |
||||
<a>pat</a>にマッチする URL で<a>event</a>が発生した際に &liberator.appname; |
||||
が実行するコマンドのリストに<a>cmd</a>を追加します: |
||||
</p> |
||||
|
||||
<ul> |
||||
<li><ex>:autocmd[!]</ex> <a>events</a> <a>pat</a>: <a>events</a>と<a>pat</a>にマッチするオートコマンドを一覧表示/削除します</li> |
||||
<li><ex>:autocmd[!]</ex> <a>events</a>: <a>events</a>にマッチするオートコマンドを一覧表示/削除します</li> |
||||
<li><ex>:autocmd[!]</ex> <a>pat</a>: <a>pat</a>にマッチするオートコマンドを一覧表示/削除します</li> |
||||
<li><ex>:autocmd[!]</ex>: すべてのオートコマンドを一覧表示/削除します</li> |
||||
</ul> |
||||
|
||||
<p>利用可能な<a>events</a>:</p> |
||||
|
||||
<dl tag="autocommand-list"/> |
||||
|
||||
<p><a>pat</a>は正規表現です。すべての URL にマッチさせたい場合、<tt>.*</tt>を使ってください。</p> |
||||
|
||||
<note><a>pat</a>に正規表現ではなくグロブを使う Vim とは異なります。</note> |
||||
|
||||
<p>関連するイベントにおいて以下のキーワードが利用可能です:</p> |
||||
|
||||
<dl tag="autocommand-args"/> |
||||
</description> |
||||
</item> |
||||
|
||||
<item |