doc: update docs/vue.md #832 a74c7e2092

This commit is contained in:
jaywcjlove
2024-09-29 10:30:54 +00:00
parent 1060cb4041
commit 7031c98ce4
184 changed files with 594 additions and 559 deletions

View File

@ -26,7 +26,7 @@
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" class="dark" height="1em" width="1em">
<path d="M12 11.807A9.002 9.002 0 0 1 10.049 2a9.942 9.942 0 0 0-5.12 2.735c-3.905 3.905-3.905 10.237 0 14.142 3.906 3.906 10.237 3.905 14.143 0a9.946 9.946 0 0 0 2.735-5.119A9.003 9.003 0 0 1 12 11.807z"></path>
</svg>
</button><script src="../js/dark.js?v=1.5.6"></script><a href="https://github.com/jaywcjlove/reference" class="" target="__blank"><svg viewBox="0 0 16 16" fill="currentColor" height="1em" width="1em"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a></div></div></nav><div class="wrap h1body-exist max-container"><header class="wrap-header h1wrap"><h1 id="vim-备忘清单"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="currentColor" height="1em" width="1em">
</button><script src="../js/dark.js?v=1.6.0"></script><a href="https://github.com/jaywcjlove/reference" class="" target="__blank"><svg viewBox="0 0 16 16" fill="currentColor" height="1em" width="1em"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"></path></svg></a></div></div></nav><div class="wrap h1body-exist max-container"><header class="wrap-header h1wrap"><h1 id="vim-备忘清单"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" fill="currentColor" height="1em" width="1em">
<path d="M32 15.979h-.036l-5.755-5.755 5.734-5.885V1.948l-.865-.865H20.146l-.88.807v1.396L16.021.036V0L16 .021 15.979 0v.036L14.26 1.755l-.719-.719H2.713l-.849.927v2.51l.818.823h.964v7.078L.037 15.983H.001l.021.016-.021.021h.036l3.609 3.604v8.625l1.208.698h3.094l2.479-2.542 5.552 5.557v.036l.021-.021.021.021v-.036l3.344-3.344h.646a.352.352 0 0 0 .333-.24l.198-.568a.356.356 0 0 0-.052-.323l1.948-1.948-.813 2.615a.352.352 0 0 0 .234.443.242.242 0 0 0 .104.021h2.432a.365.365 0 0 0 .323-.219l.219-.526a.333.333 0 0 0-.005-.271.313.313 0 0 0-.193-.188.45.45 0 0 0-.13-.031h-.099l1.12-3.521h1.641l-1.354 4.292a.359.359 0 0 0 .343.459h2.667a.362.362 0 0 0 .333-.224l.219-.573a.355.355 0 0 0-.334-.474h-.193l1.505-4.901a.347.347 0 0 0-.052-.318l-.5-.672v-.005a.355.355 0 0 0-.281-.141h-1.917a.348.348 0 0 0-.25.109l-.536.589h-.828l-.057-.063 5.927-5.927h.036l-.021-.016zM13.12 28.188l2.104-6.016h-.672l.401-.406h2.208l-2.083 6.078h.833l-.109.344zm4.922-10.027.203.203-.359 1.229-.302.302h-1.292l-.24-.24.417-1.161.38-.333zm-10.589 9.61H5.172l-.354-.198V4.12H3.172l-.135-.13V2.422l.193-.208h9.828l.286.286v1.479l-.193.229h-1.438v11.583L23.458 4.208h-2.781l-.234-.25V2.406l.161-.146h9.984l.177.177v1.427L17.307 17.666h-.557l-.026.005a.41.41 0 0 0-.156.078l-.458.396-.005.005a.407.407 0 0 0-.099.146l-.391 1.109zm19.693-5.266.63-.693h1.776l.417.552-1.688 5.474h.656l-.109.281h-2.375l1.5-4.755h-2.688l-1.438 4.521h.568l-.099.234h-2.141l1.479-4.729h-2.797l-1.417 4.453h.583l-.099.276H17.69l2.021-5.948h-.781l.12-.359h2.198l.693.714h1.208l.656-.734h1.411l.656.714z"></path>
</svg>
<a aria-hidden="true" tabindex="-1" href="#vim-备忘清单"><span class="icon icon-link"></span></a>Vim 备忘清单</h1><div class="wrap-body">
@ -90,8 +90,8 @@
<table class="shortcuts"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>h</code> | <code>j</code> | <code>k</code> | <code>l</code></td><td>方向键</td></tr><tr><td align="left"><code>&#x3C;C-u></code> <em>/</em> <code>&#x3C;C-d></code></td><td>上/下半页</td></tr><tr><td align="left"><code>&#x3C;C-b></code> <em>/</em> <code>&#x3C;C-f></code></td><td>向上/向下翻页</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
<table class="shortcuts-last"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left">方向键</td><td><code>h</code> | <code>j</code> | <code>k</code> | <code>l</code></td></tr><tr><td align="left">上/下半页</td><td><code>&#x3C;C-u></code> <em>/</em> <code>&#x3C;C-d></code></td></tr><tr><td align="left">向上/向下翻页</td><td><code>&#x3C;C-b></code> <em>/</em> <code>&#x3C;C-f></code></td></tr></tbody></table>
<!--rehype:className=shortcuts-last-->
<h4 id="字词"><a aria-hidden="true" tabindex="-1" href="#字词"><span class="icon icon-link"></span></a>字(词)</h4>
@ -110,8 +110,8 @@
<table class="shortcuts"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>b</code> <em>/</em> <code>w</code></td><td>上一个/下一个单词</td></tr><tr><td align="left"><code>ge</code> <em>/</em> <code>e</code></td><td>上一个/下一个词尾</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
<table class="shortcuts-last"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left">上一个/下一个单词</td><td><code>b</code> <em>/</em> <code>w</code></td></tr><tr><td align="left">上一个/下一个词尾</td><td><code>ge</code> <em>/</em> <code>e</code></td></tr></tbody></table>
<!--rehype:className=shortcuts-last-->
<h4 id="行"><a aria-hidden="true" tabindex="-1" href="#行"><span class="icon icon-link"></span></a></h4>
@ -130,8 +130,8 @@
<table class="shortcuts"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>0</code> <em>(zero)</em> <em>/</em> <code>$</code></td><td>行的开始/结束</td></tr><tr><td align="left"><code>^</code></td><td>行开头 <em>(非空白)</em></td></tr></tbody></table>
<!--rehype:className=shortcuts-->
<table class="shortcuts-last"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left">行的开始/结束</td><td><code>0</code> <em>(zero)</em> <em>/</em> <code>$</code></td></tr><tr><td align="left">行开头 <em>(非空白)</em></td><td><code>^</code></td></tr></tbody></table>
<!--rehype:className=shortcuts-last-->
<h4 id="字符串"><a aria-hidden="true" tabindex="-1" href="#字符串"><span class="icon icon-link"></span></a>字符串</h4>
@ -154,8 +154,8 @@
<table class="shortcuts"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>Fe</code> <em>/</em> <code>fe</code></td><td>移动到上一个/下一个<code>e</code></td></tr><tr><td align="left"><code>To</code> <em>/</em> <code>to</code></td><td>在上一个/下一个<code>o</code>之前/之后移动</td></tr><tr><td align="left"><code>|</code> <em>/</em> <code>n|</code></td><td>转到第一个/<code>n</code></td></tr></tbody></table>
<!--rehype:className=shortcuts-->
<table class="shortcuts-last"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left">移动到上一个/下一个<code>e</code></td><td><code>Fe</code> <em>/</em> <code>fe</code></td></tr><tr><td align="left">在上一个/下一个<code>o</code>之前/之后移动</td><td><code>To</code> <em>/</em> <code>to</code></td></tr><tr><td align="left">转到第一个/<code>n</code></td><td><code>|</code> <em>/</em> <code>n|</code></td></tr></tbody></table>
<!--rehype:className=shortcuts-last-->
<h4 id="文档"><a aria-hidden="true" tabindex="-1" href="#文档"><span class="icon icon-link"></span></a>文档</h4>
@ -178,8 +178,8 @@
<table class="shortcuts"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>gg</code> <em>/</em> <code>G</code></td><td>第一行/最后一行</td></tr><tr><td align="left"><code>:n</code> | <code>nG</code></td><td>转到第 <code>n</code></td></tr><tr><td align="left"><code>}</code> <em>/</em> <code>{</code></td><td>下一个/上一个空行</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
<table class="shortcuts-last"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left">第一行/最后一行</td><td><code>gg</code> <em>/</em> <code>G</code></td></tr><tr><td align="left">转到第 <code>n</code> </td><td><code>:n</code> | <code>nG</code></td></tr><tr><td align="left">下一个/上一个空行</td><td><code>}</code> <em>/</em> <code>{</code></td></tr></tbody></table>
<!--rehype:className=shortcuts-last-->
<h4 id="窗口"><a aria-hidden="true" tabindex="-1" href="#窗口"><span class="icon icon-link"></span></a>窗口</h4>
@ -198,8 +198,8 @@
<table class="shortcuts"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>H</code> <em>/</em> <code>M</code> <em>/</em> <code>L</code></td><td>上/中/下屏幕</td></tr><tr><td align="left"><code>zt</code> <em>/</em> <code>zz</code> <em>/</em> <code>zb</code></td><td>上/中/下这条线</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
<table class="shortcuts-last"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left">上/中/下屏幕</td><td><code>H</code> <em>/</em> <code>M</code> <em>/</em> <code>L</code></td></tr><tr><td align="left">上/中/下这条线</td><td><code>zt</code> <em>/</em> <code>zz</code> <em>/</em> <code>zb</code></td></tr></tbody></table>
<!--rehype:className=shortcuts-last-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="插入模式"><a aria-hidden="true" tabindex="-1" href="#插入模式"><span class="icon icon-link"></span></a>插入模式</h3><div class="wrap-body">
@ -290,8 +290,8 @@
<table class="shortcuts"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left"><code>:w</code></td><td>保存</td></tr><tr><td align="left"><code>:q</code></td><td>关闭文件</td></tr><tr><td align="left"><code>:wq</code> | <code>:x</code> | <code>ZZ</code></td><td>保存并退出</td></tr><tr><td align="left"><code>:wqa</code></td><td>保存并退出所有文件</td></tr><tr><td align="left"><code>:q!</code> | <code>ZQ</code></td><td>强制退出</td></tr><tr><td align="left"><code>:qa</code></td><td>关闭所有文件</td></tr><tr><td align="left"><code>:qa!</code></td><td>强制退出所有文件</td></tr><tr><td align="left"><code>:w</code> new.txt</td><td>写入<code>new.txt</code></td></tr><tr><td align="left"><code>:sav</code> new.txt</td><td>保存并编辑<code>new.txt</code></td></tr><tr><td align="left"><code>:w</code> !sudo tee %</td><td>写入只读文件</td></tr></tbody></table>
<!--rehype:className=shortcuts-->
<table class="shortcuts-last"><thead><tr><th align="left">快捷方式</th><th>说明</th></tr></thead><tbody><tr><td align="left">保存</td><td><code>:w</code></td></tr><tr><td align="left">关闭文件</td><td><code>:q</code></td></tr><tr><td align="left">保存并退出</td><td><code>:wq</code> | <code>:x</code> | <code>ZZ</code></td></tr><tr><td align="left">保存并退出所有文件</td><td><code>:wqa</code></td></tr><tr><td align="left">强制退出</td><td><code>:q!</code> | <code>ZQ</code></td></tr><tr><td align="left">关闭所有文件</td><td><code>:qa</code></td></tr><tr><td align="left">强制退出所有文件</td><td><code>:qa!</code></td></tr><tr><td align="left">写入<code>new.txt</code></td><td><code>:w</code> new.txt</td></tr><tr><td align="left">保存并编辑<code>new.txt</code></td><td><code>:sav</code> new.txt</td></tr><tr><td align="left">写入只读文件</td><td><code>:w</code> !sudo tee %</td></tr></tbody></table>
<!--rehype:className=shortcuts-last-->
</div></div></div><div class="wrap h3body-not-exist"><div class="wrap-header h3wrap"><h3 id="正常模式"><a aria-hidden="true" tabindex="-1" href="#正常模式"><span class="icon icon-link"></span></a>正常模式</h3><div class="wrap-body">
@ -1985,7 +1985,7 @@
<li><a href="http://vimdoc.sourceforge.net/htmldoc/">Vim documentation</a> <em>(vimdoc.sourceforge.net)</em></li>
<li><a href="http://openvim.com/">Interactive Vim tutorial</a> <em>(openvim.com)</em></li>
</ul>
</div></div><div class="h2wrap-body"></div></div></div><script src="https://giscus.app/client.js" data-repo="jaywcjlove/reference" data-repo-id="R_kgDOID2-Mw" data-category="Q&#x26;A" data-category-id="DIC_kwDOID2-M84CS5wo" data-mapping="pathname" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="bottom" data-theme="dark" data-lang="zh-CN" crossorigin="anonymous" async></script><div class="giscus"></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>.</footer></footer><script src="../data.js?v=1.5.6" defer></script><script src="../js/fuse.min.js?v=1.5.6" defer></script><script src="../js/main.js?v=1.5.6" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
</div></div><div class="h2wrap-body"></div></div></div><script src="https://giscus.app/client.js" data-repo="jaywcjlove/reference" data-repo-id="R_kgDOID2-Mw" data-category="Q&#x26;A" data-category-id="DIC_kwDOID2-M84CS5wo" data-mapping="pathname" data-strict="0" data-reactions-enabled="1" data-emit-metadata="0" data-input-position="bottom" data-theme="dark" data-lang="zh-CN" crossorigin="anonymous" async></script><div class="giscus"></div></div><footer class="footer-wrap"><footer class="max-container">© 2022 <a href="https://wangchujiang.com/#/app" target="_blank">Kenny Wang</a>.</footer></footer><script src="../data.js?v=1.6.0" defer></script><script src="../js/fuse.min.js?v=1.6.0" defer></script><script src="../js/main.js?v=1.6.0" defer></script><div id="mysearch"><div class="mysearch-box"><div class="mysearch-input"><div><svg xmlns="http://www.w3.org/2000/svg" height="1em" width="1em" viewBox="0 0 18 18">
<path fill="currentColor" d="M17.71,16.29 L14.31,12.9 C15.4069846,11.5024547 16.0022094,9.77665502 16,8 C16,3.581722 12.418278,0 8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 C9.77665502,16.0022094 11.5024547,15.4069846 12.9,14.31 L16.29,17.71 C16.4777666,17.8993127 16.7333625,18.0057983 17,18.0057983 C17.2666375,18.0057983 17.5222334,17.8993127 17.71,17.71 C17.8993127,17.5222334 18.0057983,17.2666375 18.0057983,17 C18.0057983,16.7333625 17.8993127,16.4777666 17.71,16.29 Z M2,8 C2,4.6862915 4.6862915,2 8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 Z"></path>
</svg><input id="mysearch-input" type="search" placeholder="搜索" autocomplete="off"><div class="mysearch-clear"></div></div><button id="mysearch-close" type="button">搜索</button></div><div class="mysearch-result"><div id="mysearch-menu"></div><div id="mysearch-content"></div></div></div></div></body>
</html>