root/platform/firefox/vimperator-localized-ja/locale/ja/autocommands.html @ 14275

Revision 14275, 7.8 kB (checked in by teramako, 7 years ago)

bug fix

  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
2    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6<meta name="generator" content="AsciiDoc 8.2.6" />
7<link rel="stylesheet" href="./xhtml11.css" type="text/css" />
8<link rel="stylesheet" href="./xhtml11-quirks.css" type="text/css" />
9<title></title>
10</head>
11<body>
12<div id="header">
13</div>
14<div class="para"><p><span style="float: right; padding-top: 10px;"><form action="https://www.paypal.com/cgi-bin/webscr" method="post"><fieldset class="paypal"> <input type="hidden" name="cmd" value="_s-xclick"/> <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" name="submit" alt="Make payments with PayPal - it\'s fast, free and secure!"/> <img alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"/> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYBDDJfc+lXLBSAM9XSWv/ebzG/L7PTqYiIXaWVg8pfinDsfYaAcifcgCTuApg4v/VaZIQ/hLODzQu2EvmjGXP0twErA/Q8G5gx0l197PJSyVXb1sLwd1mgOdLF4t0HmDCdEI9z3H6CMhsb3xVwlfpzllS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vsENZklGuhgZSkgZEwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA3MDMyMTIyMzI1OFowIwYJKoZIhvcNAQkEMRYEFCirrvlwYVHQiNEEbM6ikfx9+Dm5MA0GCSqGSIb3DQEBAQUABIGAtbsR8GdCdURLziozXLSdtY+zJZUPPeQFXXy2V1S/3ldiN+pRvd4HI7xz8mOY1UaKJZpwZnOosy9MflL1/hbiEtEyQ2Dm/s4jnTcJng/NjLIZu+0NYxXRJhB+zMJubnMMMjzNrGlqI4F2HAB/bCA1eOJ5B83Of3dA4rk/T/8GoSQ=-----END PKCS7-----"/> </fieldset></form></span><span class="image">
15<img src="chrome://vimperator/content/vimperator.png" alt="Vimperator" title="Vimperator" />
16</span></p></div>
17<div class="para"><p><span class="tag">autocommands</span><br /></p></div>
18<div class="para"><p>オートコマンドは定義されたイベントが起きたときにコードを実行します。</p></div>
19<div class="para"><p><span class="tag">:au</span> <span class="tag">:autocmd</span><br />
20<div class="key">:au[tocmd]</div> Execute commands automatically on events.</p></div>
21<div class="quoteblock">
22<div class="quoteblock-content">
23<div class="para"><p><span class="command">:au[tocmd]</span> <span class="argument">&#123;event&#125;</span> <span class="argument">&#123;pat&#125;</span> <span class="argument">&#123;cmd&#125;</span>.</p></div>
24<div class="para"><p><span class="argument">&#123;event&#125;</span> 発生時にVimperatorが実行する <span class="argument">&#123;cmd&#125;</span> をコマンド・リストに加えます:</p></div>
25<div class="ilist"><ul>
26<li>
27<p>
28<span class="command">:autocmd<span class="argument">&#91;!&#93;</span></span> <span class="argument">&#123;events&#125;</span> <span class="argument">&#123;pat&#125;</span>: <span class="argument">&#123;pat&#125;</span> と <span class="argument">&#123;event&#125;</span> で絞ったオートコマンドを表示します。
29</p>
30</li>
31<li>
32<p>
33<span class="command">:autocmd<span class="argument">&#91;!&#93;</span></span> <span class="argument">&#123;events&#125;</span>: <span class="argument">&#123;events&#125;</span> に対応するオートコマンドを表示します。
34</p>
35</li>
36<li>
37<p>
38<span class="command">:autocmd<span class="argument">&#91;!&#93;</span></span> * <span class="argument">&#123;pat&#125;</span>: <span class="argument">&#123;pat&#125;</span> に対応するオートコマンドを表示します。
39</p>
40</li>
41<li>
42<p>
43<span class="command">:autocmd<span class="argument">&#91;!&#93;</span></span>: 全てのオートコマンドを表示します.
44</p>
45</li>
46</ul></div>
47<div class="para"><p><span class="warning">注記:</span><span class="argument">!</span> を付けると削除になります。</p></div>
48<div class="para"><p>使用可能な <span class="argument">&#123;events&#125;</span>:</p></div>
49<div class="tableblock">
50<table rules="none"
51frame="hsides"
52cellspacing="0" cellpadding="4">
53<col width="194" />
54<col width="514" />
55<tbody valign="top">
56  <tr>
57    <td align="left">
58    <strong>LocationChange</strong>
59    </td>
60    <td align="left">
61    タブの変更時または新たなURLへ移動したときに発動
62    </td>
63  </tr>
64  <tr>
65    <td align="left">
66    <strong>PageLoad</strong>
67    </td>
68    <td align="left">
69    ページを(再)読み込みした/開いた時発動
70    </td>
71  </tr>
72  <tr>
73    <td align="left">
74    <strong>Quit</strong>
75    </td>
76    <td align="left">
77    Firefox終了時に発動
78    </td>
79  </tr>
80  <tr>
81    <td align="left">
82    <strong>Startup</strong>
83    </td>
84    <td align="left">
85    Firefox 起動時に発動
86    </td>
87  </tr>
88</tbody>
89</table>
90</div>
91<div class="para"><p><span class="argument">&#123;pat&#125;</span> は正規表現で、全てのパターンでイベントを取りたいときには .* を使用します。</p></div>
92<div class="attribution">
93</div></div></div>
94<div class="para"><p><table style="border-bottom: 1px solid silver; width: 100%">
95<tr width="100%"><td width="50%"><h2>Examples</h2></td><td width="50%">
96
97
98 <a id="autocmd_examples"/><span class="tag">autocmd_examples</span>
99</td></tr>
100</table></p></div>
101<div class="para"><p>Googleのサイト上で <em>passthrough</em> モードになるには:</p></div>
102<div class="literalblock">
103<div class="content">
104<pre><tt>:au LocationChange .* js modes.passAllKeys = /google\.com/.test(buffer.URL)</tt></pre>
105</div></div>
106<div class="para"><p>Enable <em>passthrough</em> mode on <strong>some</strong> Google sites:
107<strong>いくつかの</strong> Googleのサイト上で <em>passthrough</em> モードになるには:</p></div>
108<div class="literalblock">
109<div class="content">
110<pre><tt>:au LocationChange .* js modes.passAllKeys = /(www|mail)\.google\.com/.test(buffer.URL)</tt></pre>
111</div></div>
112<div id="footer">
113<div id="footer-text">
114Last updated 2008-06-20 01:09:39 JST
115</div>
116</div>
117</body>
118</html>
Note: See TracBrowser for help on using the browser.