|
|
@ -299,7 +299,6 @@ will move the selection over to the "func" <code>identifier</code>.</p
|
|
|
|
<pre><code>[func](arg1, arg2, arg3)
|
|
|
|
<pre><code>[func](arg1, arg2, arg3)
|
|
|
|
</code></pre>
|
|
|
|
</code></pre>
|
|
|
|
<h2 id="textobjects"><a class="header" href="#textobjects">Textobjects</a></h2>
|
|
|
|
<h2 id="textobjects"><a class="header" href="#textobjects">Textobjects</a></h2>
|
|
|
|
<p>Currently supported: <code>word</code>, <code>surround</code>, <code>function</code>, <code>class</code>, <code>parameter</code>.</p>
|
|
|
|
|
|
|
|
<p><img src="https://user-images.githubusercontent.com/23398472/124231131-81a4bb00-db2d-11eb-9d10-8e577ca7b177.gif" alt="textobject-demo" />
|
|
|
|
<p><img src="https://user-images.githubusercontent.com/23398472/124231131-81a4bb00-db2d-11eb-9d10-8e577ca7b177.gif" alt="textobject-demo" />
|
|
|
|
<img src="https://user-images.githubusercontent.com/23398472/132537398-2a2e0a54-582b-44ab-a77f-eb818942203d.gif" alt="textobject-treesitter-demo" /></p>
|
|
|
|
<img src="https://user-images.githubusercontent.com/23398472/132537398-2a2e0a54-582b-44ab-a77f-eb818942203d.gif" alt="textobject-treesitter-demo" /></p>
|
|
|
|
<ul>
|
|
|
|
<ul>
|
|
|
@ -309,6 +308,7 @@ will move the selection over to the "func" <code>identifier</code>.</p
|
|
|
|
<div class="table-wrapper"><table><thead><tr><th>Key after <code>mi</code> or <code>ma</code></th><th>Textobject selected</th></tr></thead><tbody>
|
|
|
|
<div class="table-wrapper"><table><thead><tr><th>Key after <code>mi</code> or <code>ma</code></th><th>Textobject selected</th></tr></thead><tbody>
|
|
|
|
<tr><td><code>w</code></td><td>Word</td></tr>
|
|
|
|
<tr><td><code>w</code></td><td>Word</td></tr>
|
|
|
|
<tr><td><code>W</code></td><td>WORD</td></tr>
|
|
|
|
<tr><td><code>W</code></td><td>WORD</td></tr>
|
|
|
|
|
|
|
|
<tr><td><code>p</code></td><td>Paragraph</td></tr>
|
|
|
|
<tr><td><code>(</code>, <code>[</code>, <code>'</code>, etc</td><td>Specified surround pairs</td></tr>
|
|
|
|
<tr><td><code>(</code>, <code>[</code>, <code>'</code>, etc</td><td>Specified surround pairs</td></tr>
|
|
|
|
<tr><td><code>m</code></td><td>Closest surround pair</td></tr>
|
|
|
|
<tr><td><code>m</code></td><td>Closest surround pair</td></tr>
|
|
|
|
<tr><td><code>f</code></td><td>Function</td></tr>
|
|
|
|
<tr><td><code>f</code></td><td>Function</td></tr>
|
|
|
|