root/docs/vimperator/2.0/locale/ja-JP/map.html @ 27824

Revision 27824, 30.6 kB (checked in by janus_wel, 6 years ago)

follow git HEAD

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5  <head>
6    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
7    <meta name="generator" content="AsciiDoc 8.2.1" />
8    <link rel="stylesheet" href="xhtml11.css" type="text/css" />
9    <script type="application/x-javascript;version=1.8" src="help.js"></script>
10    <title>map.html</title>
11  </head>
12<body>
13<h1 style="font-size: inherit; text-align: right;">
14  <span class="tag" style="float: none;">map.html</span>
15</h1>
16<p><div style="float: right; padding-left: 1px;"> <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="data:image/gif;base64,R0lGODlhbgAXAPcDAP/WmP+oIv+sLMwAAP/Tjk1QVf/Og/+9WCA8aIhtRP/Xmf/LgP+9WU1VY//dqWpgUCA6Yv/Ogltlck1bcE1ZbaZ8PC9CX5d1QFtjb+GZK9UiE/+oIf/Tj3lmSFtXUcSaXD5JWWpfTT5JW9KVN4iDesSLM9KSL9KaRP+eDv/kuy9BXv+hFOG/ifDEgS9GayA6YyA9aT5QbS9GavDJi1teYmptcT5Qa1tYVPC0WvChJohvSSA7ZfCqP+G7f5eNfPDQnXlvYLWhgcSnfLWGPsSOO3l5d9KjW7WdeoiGg4h4X8SSR//boz5MY7WjiP+5Ty9Hbf/CZXl6fFtldeGiQeGdM/+5Tnl2cv+tLnl2c6aJXv/gr+GsWv+sK2pvdf/mwXl8gKZ+QvCkMP+9V9K1hv/Mfv/hs//cppeAX8Swki9EZP+zQv/OgWpmYZeOgoiAdP/kuf2rQP+mIf+0Rf6zSf/BY/+xO/7AaYiEf01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NRNwwMKKEgThI4oxIODiDBLQ6AMBElBjJAkazuCDCzEsSUAXKFIjgYUwUijIJwWhUAUZa0RggAERmBkBBQjIQEEN1MhAjQEYUIOFDdT04AY1ddrQwyR81nnEmWjCSQsFcxIagZNntkANBUI4aQUCCLRwxGxYIDAnolbI2UOdkMrZgqY14HmEo3wiKoSiEaxBhhMrhP+5wRW3iHHArQwwcAA1DTTABK9pNHDAFmfQsAM1ODRgHA4H/AoEENQkoSsDRlCzwwfKGoFrtQ3k+gE1bNBADTAHAEJNFklQc8YBaVDDwBaIGEvNAekGggOvWVBDwwHfsvFtt9B+cMC0YhhyxQaxVoPCBgE07HDDJlCTQAGzDUFNCBlQA4EH1KgQAAQaUzNEABoXYHIFDlNsHDUlOFyBxA1TfAHFGQTAsQk050BNARlDEELHAVCcQwnUdJAANRcEcAHSR6MMAjUPP4ywrFG7LDLFKlh8wdJG75xxARGHsEEBEJRgcs0BWAxCAgn8nIDDP3swMTUgBNBB0UfXDTTRXbP/TY0HH7PctMUFVAByDjeTXHfVAUxdDSpcCCD55JI/QM0IplADhg7UEEHFC9RYQM0DYFCjgwAWvCDAEKKPLjkXoo8gORGuSy7Cyg+EIUAYt1Nzwwgj+C4A50N8Hrrrt4tww+VcWE6NCEOgrjrtD1BOOReWFFRMHch07/334HvPgxLhh38CD+Wnrz4yJ0yx/vjgK3EC+FPMv374sAxSEC9VSOP//wAMoAAHSMACGvCACExgAp3wioIEAwrQiKAEJ0jBClrwghjMoAY3yEEOQiEUBdkELqZBwhKa8IQoTKEKV8jCFrrwhTC8RE0aoYdo2PCGOMyhDnfIwx768IdADGIQUg2QCIFUAw69MIYjlMHEJjrxiVCMohSnSMUqWvGKUazFEjKhiaUQpBCjsMMyxkjGMprxjGhMoxrXyMY2uhGNkZiDK7xIkYjY8Y54zKMeCzKRgAAAOw==" name="submit" alt="Make payments with PayPal - it's fast, free and secure!"/> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcE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dMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA3MDMyMTIyMzI1OFowIwYJKoZIhvcNAQkEMRYEFCirrvlwYVHQiNEEbM6ikfx9+Dm5MA0GCSqGSIb3DQEBAQUABIGAtbsR8GdCdURLziozXLSdtY+zJZUPPeQFXXy2V1S/3ldiN+pRvd4HI7xz8mOY1UaKJZpwZnOosy9MflL1/hbiEtEyQ2Dm/s4jnTcJng/NjLIZu+0NYxXRJhB+zMJubnMMMjzNrGlqI4F2HAB/bCA1eOJ5B83Of3dA4rk/T/8GoSQ=-----END PKCS7-----"/> </fieldset> </form> </div> <span class="vimperator-logo"></span></p>
17<p>$B%-!&lt;%^%C%T%s%0!"&gt;JN,(B(abbreviate)$B!"%f!&lt;%6Dj5A%3%^%s%I!#(B</p>
18<p><table style="border-bottom: 1px solid silver; width: 100%">
19<tr style="width: 100%"><td style="width: 50%"><h2>Key&#160;mapping</h2></td><td style="width: 50%">
20 <a id="macro"/><span class="tag">macro</span>
21 <a id="mapping"/><span class="tag">mapping</span>
22 <a id="key-mapping"/><span class="tag">key-mapping</span>
23</td></tr>
24</table></p>
25<p>$B%-!&lt;%^%C%T%s%0%3%^%s%I$O!"I8=`$N%-!&lt;%P%$%s%I$N:FDj5A$d?7$7$$%-!&lt;%P%$%s%I$NDj5A$N$?$a$KMxMQ$5$l$^$9!(B
26$B%^%C%T%s%0$O!"J8;zNs$KK]Lu$5$l$?%-!&lt;5Z$S%-!&lt;$NO"B3$+$i@.$j$^$9!(B
27$BNc(B:</p>
28<div class="literalblock">
29<div class="content">
30<pre><tt>:map &lt;F2&gt; :echo new Date().toDateString()&lt;CR&gt;</tt></pre>
31</div></div>
32<p>$B$O!"(B<a class="mapping" href="">&lt;F2&gt;</a> $B4i$5$l$?$H$-$K!"%3%^%s%I%i%$%s$K8=:_$KF|IU$rI=&lt;($7$^$9!(B</p>
33<p>$B%N!&lt;%^%k!"%$%s%5!&lt;%H!"%3%^%s%I%i%$%s%b!&lt;%I$=$l$&gt;$l$KJL!9$N%-!&lt;%^%C%T%s%0%F!&lt;%V%k$,B8:_$7$^$9!#(B</p>
34<p><span class="tag">:map-special-chars</span><br /></p>
35<p><span class="tag">&lt;Nop&gt;</span><br />
36<div class="key">&lt;Nop&gt;</div></p>
37<div class="quoteblock">
38<div class="content">
39<p>$B2?$b$7$J$$!(B
40$B$3$N%3%^%s%I$O!"4{Dj$N%^%C%T%s%0$rL58z$K$9$k$H$-$KJXMx$G$9!(B
41<a class="command" href="">:map &lt;C-n&gt; &lt;Nop&gt;</a> $B$O(B <a class="mapping" href="">&lt;C-n&gt;</a> $B$,2?$+$9$k$N$rKI$.$^$9!#(B</p>
42<div class="attribution">
43</div></div></div>
44<p><span class="tag">&lt;CR&gt;</span> <span class="tag">map_return</span><br />
45<div class="key">&lt;CR&gt;</div></p>
46<div class="quoteblock">
47<div class="content">
48<p>$B%-!&lt;%^%C%T%s%0Cf$G$O!"2~9T$KE83+$5$l$^$9!#(B</p>
49<p>$B%^%C%T%s%0$N(B <span class="argument">&#123;rhs&#125;</span> $BCf$N(B Ex $B%3%^%s%I$G$O!"%^%C%T%s%0E83+8e$K$=$l$,&lt;B9T$5$l$k$?$a$K2~9T$,I,MW$G$9!#(B
50<a class="mapping" href="">&lt;CR&gt;</a> $B$O$3$NL\E*$N$?$a$K;H$o$l$k$Y$-$G$9!(B</p>
51<div class="attribution">
52</div></div></div>
53<p><span class="tag">&lt;Leader&gt;</span> <span class="tag">mapleader</span><br />
54<div class="key">&lt;Leader&gt;</div></p>
55<div class="quoteblock">
56<div class="content">
57<p>$B%-!&lt;%^%C%T%s%0Cf$G$O!"(B"mapleader" $BJQ?t$NCM$KE83+$5$l$^$9!(B
58"mapleader" $B$,%;%C%H$5$l$F$$$J$$$+6u$N;~$O!"(B"\" $B$,;H$o$l$^$9!(B
59$BNc(B:<br />
60&#160;<a class="command" href="">:map &lt;Leader&gt;h :echo "Hello"&lt;CR&gt;</a><br />
61$B$O!"&lt;!$N$h$&amp;$KF/$-$^$9(B<br />
62&#160;<a class="command" href="">:map \h :echo "Hello"&lt;CR&gt;</a><br />
63$B$7$+$7!"(B+
64&#160;<a class="command" href="">let mapleader = ","</a><br />
65$B$N$h$&amp;$KCM$rJQ99$7$?8e$G$O!"(B+
66&#160;<a class="command" href="">:map ,h :echo "Hello"&lt;CR&gt;</a><br />
67$B$N$h$&amp;$KF/$-$^$9(B</p>
68<div class="attribution">
69</div></div></div>
70<p><span class="tag">:map</span>
71<div class="key">:map <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
72<div class="key">:map <span class="argument">&#123;lhs&#125;</span></div><br />
73<div class="key">:map</div></p>
74<div class="quoteblock">
75<div class="content">
76<p>$B%-!&lt;%7!&lt;%1%s%9$r(B <span class="argument">&#123;lhs&#125;</span> $B$+$i(B <span class="argument">&#123;rhs&#125;</span> $B$K%^%C%W$7$^$9!#(B
77<span class="argument">&#123;rhs&#125;</span> $B$O%M%9%H$d:F5"E*$J%^%C%T%s%0$,$G$-$k$h$&amp;$K!"%j%^%C%W$5$l$^$9!#(B
78$B7Y9p(B: $B%^%C%T%s%0$O%;%C%7%g%sCf$KJ]B8$5$l$J$$$N$G!"I,$:(B vimperatorrc $B%U%!%$%k$K=q$$$F$/$@$5$$!#(B</p>
79<div class="attribution">
80</div></div></div>
81<p><span class="tag">:cm</span> <span class="tag">:cmap</span>
82<div class="key">:cmap <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
83<div class="key">:cmap <span class="argument">&#123;lhs&#125;</span></div><br />
84<div class="key">:cmap</div></p>
85<div class="quoteblock">
86<div class="content">
87<p>$B%-!&lt;%7!&lt;%1%s%9$r(B <span class="argument">&#123;lhs&#125;</span> $B$+$i(B <span class="argument">&#123;rhs&#125;</span> $B$K%^%C%W$7$^$9!#(B($B%3%^%s%I%i%$%s%b!&lt;%IMQ(B)
88<span class="argument">&#123;rhs&#125;</span> $B$O%M%9%H$d:F5"E*$J%^%C%T%s%0$,$G$-$k$h$&amp;$K!"%j%^%C%W$5$l$^$9!#(B
89$B7Y9p(B: $B%^%C%T%s%0$O%;%C%7%g%sCf$KJ]B8$5$l$J$$$N$G!"I,$:(B vimperatorrc $B%U%!%$%k$K=q$$$F$/$@$5$$!#(B</p>
90<div class="attribution">
91</div></div></div>
92<p><span class="tag">:im</span> <span class="tag">:imap</span>
93<div class="key">:imap <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
94<div class="key">:imap <span class="argument">&#123;lhs&#125;</span></div><br />
95<div class="key">:imap</div></p>
96<div class="quoteblock">
97<div class="content">
98<p>$B%-!&lt;%7!&lt;%1%s%9$r(B <span class="argument">&#123;lhs&#125;</span> $B$+$i(B <span class="argument">&#123;rhs&#125;</span> $B$K%^%C%W$7$^$9!#(B($B%$%s%5!&lt;%H%b!&lt;%IMQ(B)
99<span class="argument">&#123;rhs&#125;</span> $B$O%M%9%H$d:F5"E*$J%^%C%T%s%0$,$G$-$k$h$&amp;$K!"%j%^%C%W$5$l$^$9!#(B
100$B7Y9p(B: $B%^%C%T%s%0$O%;%C%7%g%sCf$KJ]B8$5$l$J$$$N$G!"I,$:(B vimperatorrc $B%U%!%$%k$K=q$$$F$/$@$5$$!#(B</p>
101<div class="attribution">
102</div></div></div>
103<p><span class="tag">:mapc</span> <span class="tag">:mapclear</span><br />
104<div class="key">:mapc[lear]</div></p>
105<div class="quoteblock">
106<div class="content">
107<p>$BA4$F$N%^%C%T%s%0$r:o=<span class="tag">$7$^$9!(B
108<a class="command" href="">:map</a> $B$d(B <a class="command" href="">:noremap</a> $B$G%;%C%H$5$l$?A4$F$N%f!&lt;%6Dj5A%^%C%T%s%0$O:o=</span>$5$l$^$9!(B</p>
109<div class="attribution">
110</div></div></div>
111<p><span class="tag">:cmapc</span> <span class="tag">:cmapclear</span><br />
112<div class="key">:cmapc[lear]</div></p>
113<div class="quoteblock">
114<div class="content">
115<p>$BA4$F$N%^%C%T%s%0$r:o=<span class="tag">$7$^$9!(B($B%3%^%s%I%i%$%s%b!&lt;%IMQ(B)
116<a class="command" href="">:cmap</a> or <a class="command" href="">:cnoremap</a> $B$G%;%C%H$5$l$?A4$F$N%f!&lt;%6Dj5A%^%C%T%s%0$O:o=</span>$5$l$^$9!(B</p>
117<div class="attribution">
118</div></div></div>
119<p><span class="tag">:imapc</span> <span class="tag">:imapclear</span><br />
120<div class="key">:imapc[lear]</div></p>
121<div class="quoteblock">
122<div class="content">
123<p>$BA4$F$N%^%C%T%s%0$r:o=<span class="tag">$7$^$9!(B($B%$%s%5!&lt;%H%b!&lt;%IMQ(B)
124<a class="command" href="">:imap</a> or <a class="command" href="">:inoremap</a> $B$G%;%C%H$5$l$?A4$F$N%f!&lt;%6Dj5A%^%C%T%s%0$O:o=</span>$5$l$^$9!(B</p>
125<div class="attribution">
126</div></div></div>
127<p><span class="tag">:no</span> <span class="tag">:noremap</span><br />
128<div class="key">:no[remap] <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
129<div class="key">:no[remap] <span class="argument">&#123;lhs&#125;</span></div><br />
130<div class="key">:no[remap]</div></p>
131<div class="quoteblock">
132<div class="content">
133<p>$B%-!&lt;%7!&lt;%1%s%9$r(B <span class="argument">&#123;lhs&#125;</span> $B$+$i(B <span class="argument">&#123;rhs&#125;</span> $B$K%^%C%W$7$^$9!#(B
134<span class="argument">&#123;rhs&#125;</span> $B$O%j%^%C%W$5$l$^$;$s!#(B</p>
135<div class="attribution">
136</div></div></div>
137<p><span class="tag">:cno</span> <span class="tag">:cnoremap</span><br />
138<div class="key">:cno[remap] <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
139<div class="key">:cno[remap] <span class="argument">&#123;lhs&#125;</span></div><br />
140<div class="key">:cno[remap]</div></p>
141<div class="quoteblock">
142<div class="content">
143<p>$B%-!&lt;%7!&lt;%1%s%9$r(B <span class="argument">&#123;lhs&#125;</span> $B$+$i(B <span class="argument">&#123;rhs&#125;</span> $B$K%^%C%W$7$^$9!#(B($B%3%^%s%I%i%$%s%b!&lt;%IMQ(B)
144<span class="argument">&#123;rhs&#125;</span> $B$O%j%^%C%W$5$l$^$;$s!#(B</p>
145<div class="attribution">
146</div></div></div>
147<p><span class="tag">:ino</span> <span class="tag">:inoremap</span><br />
148<div class="key">:ino[remap] <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
149<div class="key">:ino[remap] <span class="argument">&#123;lhs&#125;</span></div><br />
150<div class="key">:ino[remap]</div></p>
151<div class="quoteblock">
152<div class="content">
153<p>$B%-!&lt;%7!&lt;%1%s%9$r(B <span class="argument">&#123;lhs&#125;</span> $B$+$i(B <span class="argument">&#123;rhs&#125;</span> $B$K%^%C%W$7$^$9!#(B($B%$%s%5!&lt;%H%b!&lt;%IMQ(B)
154<span class="argument">&#123;rhs&#125;</span> $B$O%j%^%C%W$5$l$^$;$s!#(B</p>
155<div class="attribution">
156</div></div></div>
157<p><span class="tag">:map-&lt;silent&gt;</span><br /></p>
158<div class="quoteblock">
159<div class="content">
160<p>When the first argument to one of the mapping commands is &lt;silent&gt;,
161<span class="argument">&#123;rhs&#125;</span> is not echoed to the command-line, nor, for that matter, is anything else until the command has completed.</p>
162<div class="attribution">
163</div></div></div>
164<p><span class="tag">:unm</span> <span class="tag">:unmap</span><br />
165<div class="key">:unm[ap] <span class="argument">&#123;lhs&#125;</span></div></p>
166<div class="quoteblock">
167<div class="content">
168<p>Remove the mapping of <span class="argument">&#123;lhs&#125;</span>.</p>
169<div class="attribution">
170</div></div></div>
171<p><span class="tag">:cunm</span> <span class="tag">:cunmap</span><br />
172<div class="key">:cunm[ap] <span class="argument">&#123;lhs&#125;</span></div></p>
173<div class="quoteblock">
174<div class="content">
175<p>Remove the mapping of <span class="argument">&#123;lhs&#125;</span> (in Command-line mode).</p>
176<div class="attribution">
177</div></div></div>
178<p><span class="tag">:iunm</span> <span class="tag">:iunmap</span><br />
179<div class="key">:iunm[ap] <span class="argument">&#123;lhs&#125;</span></div></p>
180<div class="quoteblock">
181<div class="content">
182<p>Remove the mapping of <span class="argument">&#123;lhs&#125;</span> (in insert mode).</p>
183<div class="attribution">
184</div></div></div>
185<p><table style="border-bottom: 1px solid silver; width: 100%">
186<tr style="width: 100%"><td style="width: 50%"><h2>Abbreviations</h2></td><td style="width: 50%">
187
188
189 <a id="abbreviations"/><span class="tag">abbreviations</span>
190</td></tr>
191</table></p>
192<p><span class="tag">:ab</span> <span class="tag">:abbreviate</span>
193<div class="key">:ab[breviate] <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
194<div class="key">:ab[breviate] <span class="argument">&#123;lhs&#125;</span></div><br />
195<div class="key">:ab[breviate]</div></p>
196<div class="quoteblock">
197<div class="content">
198<p>Abbreviate a key sequence. Abbreviate <span class="argument">&#123;lhs&#125;</span> to <span class="argument">&#123;rhs&#125;</span>. If only <span class="argument">&#123;lhs&#125;</span> is given,
199list all abbreviations that start with <span class="argument">&#123;lhs&#125;</span>. List all abbreviations, if no
200arguments are given.</p>
201<div class="attribution">
202</div></div></div>
203<p><span class="tag">:ca</span> <span class="tag">:cabbrev</span>
204<div class="key">:ca[bbrev] <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
205<div class="key">:ca[bbrev] <span class="argument">&#123;lhs&#125;</span></div><br />
206<div class="key">:ca[bbrev]</div></p>
207<div class="quoteblock">
208<div class="content">
209<p>Abbreviate a key sequence for Command-line mode. Same as <a class="command" href="#">:ab[reviate]</a>,
210but for Command-line mode only.</p>
211<div class="attribution">
212</div></div></div>
213<p><span class="tag">:ia</span> <span class="tag">:iabbrev</span>
214<div class="key">:ia[bbrev] <span class="argument">&#123;lhs&#125;</span> <span class="argument">&#123;rhs&#125;</span></div><br />
215<div class="key">:ia[bbrev] <span class="argument">&#123;lhs&#125;</span></div><br />
216<div class="key">:ia[bbrev]</div></p>
217<div class="quoteblock">
218<div class="content">
219<p>Abbreviate a key sequence for Insert mode. Same as <a class="command" href="#">:ab[breviate]</a>, but
220for Insert mode only.</p>
221<div class="attribution">
222</div></div></div>
223<p><span class="tag">:una</span> <span class="tag">:unabbreviate</span>
224<div class="key">:una[bbreviate] <span class="argument">&#123;lhs&#125;</span></div><br /></p>
225<div class="quoteblock">
226<div class="content">
227<p>Remove an abbreviation.</p>
228<div class="attribution">
229</div></div></div>
230<p><span class="tag">:cuna</span> <span class="tag">:cunabbrev</span>
231<div class="key">:cuna[bbrev] <span class="argument">&#123;lhs&#125;</span></div><br /></p>
232<div class="quoteblock">
233<div class="content">
234<p>Remove an abbreviation for Command-line mode. Same as <a class="command" href="#">:una[bbreviate]</a>,
235but for Command-line mode only.</p>
236<div class="attribution">
237</div></div></div>
238<p><span class="tag">:iuna</span> <span class="tag">:iunabbrev</span>
239<div class="key">:iuna[bbrev] <span class="argument">&#123;lhs&#125;</span></div><br /></p>
240<div class="quoteblock">
241<div class="content">
242<p>Remove an abbreviation for Insert mode. Same as <a class="command" href="#">:una[bbreviate]</a>, but for
243Insert mode only.</p>
244<div class="attribution">
245</div></div></div>
246<p><span class="tag">:abc</span> <span class="tag">:abclear</span><br />
247<div class="key">:abc[lear]</div></p>
248<div class="quoteblock">
249<div class="content">
250<p>Remove all abbreviations.</p>
251<div class="attribution">
252</div></div></div>
253<p><span class="tag">:cabc</span> <span class="tag">:cabclear</span><br />
254<div class="key">:cabc[lear]</div></p>
255<div class="quoteblock">
256<div class="content">
257<p>Remove all abbreviations for Command-line mode.</p>
258<div class="attribution">
259</div></div></div>
260<p><span class="tag">:iabc</span> <span class="tag">:iabclear</span><br />
261<div class="key">:iabc[lear]</div></p>
262<div class="quoteblock">
263<div class="content">
264<p>Remove all abbreviations for Insert mode.</p>
265<div class="attribution">
266</div></div></div>
267<p><table style="border-bottom: 1px solid silver; width: 100%">
268<tr style="width: 100%"><td style="width: 50%"><h2>User-defined&#160;commands</h2></td><td style="width: 50%">
269
270
271 <a id="user-commands"/><span class="tag">user-commands</span>
272</td></tr>
273</table></p>
274<p><span class="tag">:com</span> <span class="tag">:command</span>
275<div class="key">:com[mand]</div><br /></p>
276<div class="quoteblock">
277<div class="content">
278<p>List all user-defined commands.</p>
279<div class="attribution">
280</div></div></div>
281<p><div class="key">:com[mand] <span class="argument">&#123;cmd&#125;</span></div><br /></p>
282<div class="quoteblock">
283<div class="content">
284<p>List all user-defined commands that start with <span class="argument">&#123;cmd&#125;</span>.</p>
285<div class="attribution">
286</div></div></div>
287<p><div class="key">:com[mand]<span class="argument">&#91;!&#93;</span> [<span class="argument">&#123;attr&#125;</span>&#8230;] <span class="argument">&#123;cmd&#125;</span> <span class="argument">&#123;rep&#125;</span></div><br /></p>
288<div class="quoteblock">
289<div class="content">
290<p>Define a new user command. The name of the command is <span class="argument">&#123;cmd&#125;</span> and its replacement
291text is <span class="argument">&#123;rep&#125;</span>. The command's attributes are <span class="argument">&#123;attr&#125;</span>. If a command with this name
292already exists an error is reported unless <span class="argument">&#91;!&#93;</span> is specified, in which case the
293command is redefined. Unlike Vim, the command may start with a lowercase
294letter.</p>
295<p>The command's behavior can be specified by providing attributes when the
296command is defined.</p>
297<p><span class="tag">E175</span> <span class="tag">E176</span> <span class="tag">:command-nargs</span><br />
298Argument handling</p>
299<p>By default user commands accept no arguments. This can be changed by specifying
300the -nargs attribute.</p>
301<p>The valid values are:</p>
302<div class="tableblock">
303<table rules="none"
304frame="hsides"
305cellspacing="0" cellpadding="4">
306<col width="125" />
307<col width="788" />
308<tbody valign="top">
309  <tr>
310    <td align="left">
311    <strong>-nargs=0</strong>
312    </td>
313    <td align="left">
314    No arguments are allowed (default)
315    </td>
316  </tr>
317  <tr>
318    <td align="left">
319    <strong>-nargs=1</strong>
320    </td>
321    <td align="left">
322    One argument is allowed
323    </td>
324  </tr>
325  <tr>
326    <td align="left">
327    <strong>-nargs=</strong>*
328    </td>
329    <td align="left">
330    Zero or more arguments are allowed
331    </td>
332  </tr>
333  <tr>
334    <td align="left">
335    <strong>-nargs=?</strong>
336    </td>
337    <td align="left">
338    Zero or one argument is allowed
339    </td>
340  </tr>
341  <tr>
342    <td align="left">
343    <strong>-nargs=+</strong>
344    </td>
345    <td align="left">
346    One or more argument is allowd
347    </td>
348  </tr>
349</tbody>
350</table>
351</div>
352<p><span class="tag">E180</span> <span class="tag">E181</span> <span class="tag">:command-complete</span><br />
353Argument completion</p>
354<p>Completion for arguments to user defined commands is not available by default.
355Completion can be enabled by specifying one of the following arguments to the
356-complete option when defining the command.</p>
357<div class="tableblock">
358<table rules="none"
359frame="hsides"
360cellspacing="0" cellpadding="4">
361<col width="194" />
362<col width="720" />
363<tbody valign="top">
364  <tr>
365    <td align="left">
366    <strong>altstyle</strong>
367    </td>
368    <td align="left">
369    alternate author style sheets
370    </td>
371  </tr>
372  <tr>
373    <td align="left">
374    <strong>bookmark</strong>
375    </td>
376    <td align="left">
377    bookmarks
378    </td>
379  </tr>
380  <tr>
381    <td align="left">
382    <strong>buffer</strong>
383    </td>
384    <td align="left">
385    buffers
386    </td>
387  </tr>
388  <tr>
389    <td align="left">
390    <strong>color</strong>
391    </td>
392    <td align="left">
393    color schemes
394    </td>
395  </tr>
396  <tr>
397    <td align="left">
398    <strong>command</strong>
399    </td>
400    <td align="left">
401    Ex commands
402    </td>
403  </tr>
404  <tr>
405    <td align="left">
406    <strong>dialog</strong>
407    </td>
408    <td align="left">
409    Firefox dialogs
410    </td>
411  </tr>
412  <tr>
413    <td align="left">
414    <strong>dir</strong>
415    </td>
416    <td align="left">
417    directories
418    </td>
419  </tr>
420  <tr>
421    <td align="left">
422    <strong>environment</strong>
423    </td>
424    <td align="left">
425    environment variables
426    </td>
427  </tr>
428  <tr>
429    <td align="left">
430    <strong>event</strong>
431    </td>
432    <td align="left">
433    autocommand events
434    </td>
435  </tr>
436  <tr>
437    <td align="left">
438    <strong>file</strong>
439    </td>
440    <td align="left">
441    files
442    </td>
443  </tr>
444  <tr>
445    <td align="left">
446    <strong>help</strong>
447    </td>
448    <td align="left">
449    help tags
450    </td>
451  </tr>
452  <tr>
453    <td align="left">
454    <strong>highlight</strong>
455    </td>
456    <td align="left">
457    highlight groups
458    </td>
459  </tr>
460  <tr>
461    <td align="left">
462    <strong>javascript</strong>
463    </td>
464    <td align="left">
465    JavaScript expressions
466    </td>
467  </tr>
468  <tr>
469    <td align="left">
470    <strong>macro</strong>
471    </td>
472    <td align="left">
473    named macros
474    </td>
475  </tr>
476  <tr>
477    <td align="left">
478    <strong>mapping</strong>
479    </td>
480    <td align="left">
481    user mappings
482    </td>
483  </tr>
484  <tr>
485    <td align="left">
486    <strong>menu</strong>
487    </td>
488    <td align="left">
489    menu items
490    </td>
491  </tr>
492  <tr>
493    <td align="left">
494    <strong>option</strong>
495    </td>
496    <td align="left">
497    Vimperator options
498    </td>
499  </tr>
500  <tr>
501    <td align="left">
502    <strong>preference</strong>
503    </td>
504    <td align="left">
505    Firefox preferences
506    </td>
507  </tr>
508  <tr>
509    <td align="left">
510    <strong>search</strong>
511    </td>
512    <td align="left">
513    search engines and keywords
514    </td>
515  </tr>
516  <tr>
517    <td align="left">
518    <strong>shellcmd</strong>
519    </td>
520    <td align="left">
521    shell commands
522    </td>
523  </tr>
524  <tr>
525    <td align="left">
526    <strong>sidebar</strong>
527    </td>
528    <td align="left">
529    sidebar panels
530    </td>
531  </tr>
532  <tr>
533    <td align="left">
534    <strong>url</strong>
535    </td>
536    <td align="left">
537    URLs
538    </td>
539  </tr>
540  <tr>
541    <td align="left">
542    <strong>usercommand</strong>
543    </td>
544    <td align="left">
545    user commands
546    </td>
547  </tr>
548  <tr>
549    <td align="left">
550    <strong>custom,<span class="argument">&#123;func&#125;</span></strong>
551    </td>
552    <td align="left">
553    custom completion, provided by <span class="argument">&#123;func&#125;</span>
554    </td>
555  </tr>
556</tbody>
557</table>
558</div>
559<p><span class="tag">E467</span> <span class="tag">E468</span> <span class="tag">:command-completion-custom</span><br />
560Custom completion</p>
561<p>Custom completion can be provided by specifying the "custom,<span class="argument">&#123;func&#125;</span>" argument to
562-complete. The <span class="argument">&#123;func&#125;</span> is called with two arguments, a completion context, and
563an object describing the command's arguments. It should set the context's
564'completions' property, or return an object, with 'start' and 'items'
565properties, describing the completions and where the replacement is to start.</p>
566<p><strong>start</strong> is the index into the word being completed at which the returned values
567should be applied and <strong>completions</strong> is a two dimensional array of the form:
568\[[arg1, description1], [arg2, description2], &#8230;]</p>
569<p><span class="tag">E177</span> <span class="tag">E178</span> <span class="tag">:command-count</span><br />
570Count handling</p>
571<p>By default user commands do not accept a count. Use the -count attribute if
572you'd like to have a count passed to your user command. This will then be
573available for expansion as &lt;count&gt; in the argument.</p>
574<p><span class="tag">:command-bang</span><br />
575Special cases</p>
576<p>By default a user command does not have a special version. i.e. a version
577executed with the ! modifier. Providing the -bang attribute will enable this
578and &lt;bang&gt; will be available in the argument.</p>
579<p><span class="tag">:command-replacement-text</span><br />
580Replacement text</p>
581<p>The replacement text <span class="argument">&#123;rep&#125;</span> is scanned for escape sequences and these are
582replaced with values from the user entered command-line. The resulting string
583is then executed as an Ex command.</p>
584<p>The valid escape sequences are:</p>
585<div class="tableblock">
586<table rules="none"
587frame="hsides"
588cellspacing="0" cellpadding="4">
589<col width="125" />
590<col width="788" />
591<tbody valign="top">
592  <tr>
593    <td align="left">
594    <strong>&lt;args&gt;</strong>
595    </td>
596    <td align="left">
597    The command arguments exactly as supplied
598    </td>
599  </tr>
600  <tr>
601    <td align="left">
602    <strong>&lt;count&gt;</strong>
603    </td>
604    <td align="left">
605    Any supplied count E.g. 5
606    </td>
607  </tr>
608  <tr>
609    <td align="left">
610    <strong>&lt;bang&gt;</strong>
611    </td>
612    <td align="left">
613    ! if the command was executed with the ! modifier
614    </td>
615  </tr>
616  <tr>
617    <td align="left">
618    <strong>&lt;lt&gt;</strong>
619    </td>
620    <td align="left">
621    A literal <a class="option" href="#">'&lt;'</a> character to allow for a literal copy of one of the escape sequences. E.g. &lt;lt&gt;args&gt; will expand to a literal &lt;args&gt;
622    </td>
623  </tr>
624</tbody>
625</table>
626</div>
627<p>"q-" can be prefixed to the escape sequence so that the value is quoted, making
628it suitable for expression evaluation. Example: &lt;q-args&gt;</p>
629<div class="attribution">
630</div></div></div>
631<p><span class="tag">:comc</span> <span class="tag">:comclear</span><br />
632<div class="key">:comc[lear]</div></p>
633<div class="quoteblock">
634<div class="content">
635<p>Delete all user-defined commands.</p>
636<div class="attribution">
637</div></div></div>
638<p><span class="tag">:delc</span> <span class="tag">:delcommand</span>
639<div class="key">:delc[ommand] <span class="argument">&#123;cmd&#125;</span></div><br /></p>
640<div class="quoteblock">
641<div class="content">
642<p>Delete the user-defined command <span class="argument">&#123;cmd&#125;</span>.</p>
643<div class="attribution">
644</div></div></div>
645<p><table style="border-bottom: 1px solid silver; width: 100%">
646<tr style="width: 100%"><td style="width: 50%"><h2>Examples</h2></td><td style="width: 50%">
647
648
649 <a id="command-examples"/><span class="tag">command-examples</span>
650</td></tr>
651</table></p>
652<p>Add a :Google command to search via google:</p>
653<div class="literalblock">
654<div class="content">
655<pre><tt>:command -nargs=* Google open google &lt;args&gt;</tt></pre>
656</div></div>
657<div id="footer">
658<div id="footer-text">
659Last updated 03-Jan-2009 15:22:15 JST
660</div>
661</div>
662</body>
663</html>
Note: See TracBrowser for help on using the browser.