mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-24 10:26:18 +04:00
deploy: 232d9f96a0
This commit is contained in:
parent
dd660e215e
commit
e994ad450c
@ -459,15 +459,15 @@ function or block of code.</p>
|
||||
<tr><td><code>(</code>, <code>[</code>, <code>'</code>, etc.</td><td>Specified surround pairs</td></tr>
|
||||
<tr><td><code>m</code></td><td>The closest surround pair</td></tr>
|
||||
<tr><td><code>f</code></td><td>Function</td></tr>
|
||||
<tr><td><code>c</code></td><td>Class</td></tr>
|
||||
<tr><td><code>t</code></td><td>Type (or Class)</td></tr>
|
||||
<tr><td><code>a</code></td><td>Argument/parameter</td></tr>
|
||||
<tr><td><code>o</code></td><td>Comment</td></tr>
|
||||
<tr><td><code>t</code></td><td>Test</td></tr>
|
||||
<tr><td><code>c</code></td><td>Comment</td></tr>
|
||||
<tr><td><code>T</code></td><td>Test</td></tr>
|
||||
<tr><td><code>g</code></td><td>Change</td></tr>
|
||||
</tbody></table>
|
||||
</div>
|
||||
<blockquote>
|
||||
<p>💡 <code>f</code>, <code>c</code>, etc. need a tree-sitter grammar active for the current
|
||||
<p>💡 <code>f</code>, <code>t</code>, etc. need a tree-sitter grammar active for the current
|
||||
document and a special tree-sitter query file to work properly. <a href="./lang-support.html">Only
|
||||
some grammars</a> currently have the query file implemented.
|
||||
Contributions are welcome!</p>
|
||||
@ -476,7 +476,7 @@ Contributions are welcome!</p>
|
||||
<p>Navigating between functions, classes, parameters, and other elements is
|
||||
possible using tree-sitter and textobject queries. For
|
||||
example to move to the next function use <code>]f</code>, to move to previous
|
||||
class use <code>[c</code>, and so on.</p>
|
||||
type use <code>[t</code>, and so on.</p>
|
||||
<p><img src="https://user-images.githubusercontent.com/23398472/152332550-7dfff043-36a2-4aec-b8f2-77c13eb56d6f.gif" alt="Tree-sitter-nav-demo" /></p>
|
||||
<p>For the full reference see the <a href="./keymap.html#unimpaired">unimpaired</a> section of the key bind
|
||||
documentation.</p>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -234,15 +234,15 @@ function or block of code.</p>
|
||||
<tr><td><code>(</code>, <code>[</code>, <code>'</code>, etc.</td><td>Specified surround pairs</td></tr>
|
||||
<tr><td><code>m</code></td><td>The closest surround pair</td></tr>
|
||||
<tr><td><code>f</code></td><td>Function</td></tr>
|
||||
<tr><td><code>c</code></td><td>Class</td></tr>
|
||||
<tr><td><code>t</code></td><td>Type (or Class)</td></tr>
|
||||
<tr><td><code>a</code></td><td>Argument/parameter</td></tr>
|
||||
<tr><td><code>o</code></td><td>Comment</td></tr>
|
||||
<tr><td><code>t</code></td><td>Test</td></tr>
|
||||
<tr><td><code>c</code></td><td>Comment</td></tr>
|
||||
<tr><td><code>T</code></td><td>Test</td></tr>
|
||||
<tr><td><code>g</code></td><td>Change</td></tr>
|
||||
</tbody></table>
|
||||
</div>
|
||||
<blockquote>
|
||||
<p>💡 <code>f</code>, <code>c</code>, etc. need a tree-sitter grammar active for the current
|
||||
<p>💡 <code>f</code>, <code>t</code>, etc. need a tree-sitter grammar active for the current
|
||||
document and a special tree-sitter query file to work properly. <a href="./lang-support.html">Only
|
||||
some grammars</a> currently have the query file implemented.
|
||||
Contributions are welcome!</p>
|
||||
@ -251,7 +251,7 @@ Contributions are welcome!</p>
|
||||
<p>Navigating between functions, classes, parameters, and other elements is
|
||||
possible using tree-sitter and textobject queries. For
|
||||
example to move to the next function use <code>]f</code>, to move to previous
|
||||
class use <code>[c</code>, and so on.</p>
|
||||
type use <code>[t</code>, and so on.</p>
|
||||
<p><img src="https://user-images.githubusercontent.com/23398472/152332550-7dfff043-36a2-4aec-b8f2-77c13eb56d6f.gif" alt="Tree-sitter-nav-demo" /></p>
|
||||
<p>For the full reference see the <a href="./keymap.html#unimpaired">unimpaired</a> section of the key bind
|
||||
documentation.</p>
|
||||
|
Loading…
Reference in New Issue
Block a user