<p>💡 Mappings marked (<strong>TS</strong>) require a tree-sitter grammar for the file type.</p>
<p>💡 Mappings marked (<strong>TS</strong>) require a tree-sitter grammar for the file type.</p>
</blockquote>
</blockquote>
<blockquote>
<blockquote>
<p>⚠️ Some terminals' default key mappings conflict with Helix's. If any of the mappings described on this page do not work as expected, check your terminal's mappings to ensure they do not conflict. See the (wiki)[https://github.com/helix-editor/helix/wiki/Terminal-Support] for known conflicts.</p>
<p>⚠️ Some terminals' default key mappings conflict with Helix's. If any of the mappings described on this page do not work as expected, check your terminal's mappings to ensure they do not conflict. See the <ahref="https://github.com/helix-editor/helix/wiki/Terminal-Support">wiki</a> for known conflicts.</p>
<p>Accessed by typing <code>m</code> in <ahref="#normal-mode">normal mode</a>.</p>
<p>Accessed by typing <code>m</code> in <ahref="#normal-mode">normal mode</a>.</p>
<p>See the relevant section in <ahref="./usage.html">Usage</a> for an explanation about
<p>Please refer to the relevant sections for detailed explanations about <ahref="./surround.html">surround</a> and <ahref="./textobjects.html">textobjects</a>.</p>
<ahref="./usage.html#surround">surround</a> and <ahref="./usage.html#navigating-using-tree-sitter-textobjects">textobject</a> usage.</p>
<tr><td><code>s</code><code><char></code></td><td>Surround current selection with <code><char></code></td><td><code>surround_add</code></td></tr>
<tr><td><code>s</code><code><char></code></td><td>Surround current selection with <code><char></code></td><td><code>surround_add</code></td></tr>
<p>💡 <code>f</code>, <code>t</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. [Only
document and a special tree-sitter query file to work properly. <ahref="./lang-support.html">Only
some grammars][lang-support] currently have the query file implemented.
some grammars</a> currently have the query file implemented.
Contributions are welcome!</p>
Contributions are welcome!</p>
</blockquote>
</blockquote>
<h2id="navigating-using-tree-sitter-textobjects"><aclass="header"href="#navigating-using-tree-sitter-textobjects">Navigating using tree-sitter textobjects</a></h2>
<h2id="navigating-using-tree-sitter-textobjects"><aclass="header"href="#navigating-using-tree-sitter-textobjects">Navigating using tree-sitter textobjects</a></h2>
@ -550,8 +550,8 @@ Contributions are welcome!</p>
possible using tree-sitter and textobject queries. For
possible using tree-sitter and textobject queries. For
example to move to the next function use <code>]f</code>, to move to previous
example to move to the next function use <code>]f</code>, to move to previous
<p>For the full reference see the [unimpaired][unimpaired-keybinds] section of the key bind
<p>For the full reference see the <ahref="./keymap.html#unimpaired">unimpaired</a> section of the key bind
documentation.</p>
documentation.</p>
<blockquote>
<blockquote>
<p>💡 This feature relies on tree-sitter textobjects
<p>💡 This feature relies on tree-sitter textobjects
@ -647,7 +647,7 @@ selection to the "func" <code>identifier</code>.</p>
<p>💡 Mappings marked (<strong>TS</strong>) require a tree-sitter grammar for the file type.</p>
<p>💡 Mappings marked (<strong>TS</strong>) require a tree-sitter grammar for the file type.</p>
</blockquote>
</blockquote>
<blockquote>
<blockquote>
<p>⚠️ Some terminals' default key mappings conflict with Helix's. If any of the mappings described on this page do not work as expected, check your terminal's mappings to ensure they do not conflict. See the (wiki)[https://github.com/helix-editor/helix/wiki/Terminal-Support] for known conflicts.</p>
<p>⚠️ Some terminals' default key mappings conflict with Helix's. If any of the mappings described on this page do not work as expected, check your terminal's mappings to ensure they do not conflict. See the <ahref="https://github.com/helix-editor/helix/wiki/Terminal-Support">wiki</a> for known conflicts.</p>
<p>Accessed by typing <code>m</code> in <ahref="keymap.html#normal-mode">normal mode</a>.</p>
<p>Accessed by typing <code>m</code> in <ahref="keymap.html#normal-mode">normal mode</a>.</p>
<p>See the relevant section in <ahref="./usage.html">Usage</a> for an explanation about
<p>Please refer to the relevant sections for detailed explanations about <ahref="./surround.html">surround</a> and <ahref="./textobjects.html">textobjects</a>.</p>
<ahref="./usage.html#surround">surround</a> and <ahref="./usage.html#navigating-using-tree-sitter-textobjects">textobject</a> usage.</p>
<tr><td><code>s</code><code><char></code></td><td>Surround current selection with <code><char></code></td><td><code>surround_add</code></td></tr>
<tr><td><code>s</code><code><char></code></td><td>Surround current selection with <code><char></code></td><td><code>surround_add</code></td></tr>
<p>💡 <code>f</code>, <code>t</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. [Only
document and a special tree-sitter query file to work properly. <ahref="./lang-support.html">Only
some grammars][lang-support] currently have the query file implemented.
some grammars</a> currently have the query file implemented.
Contributions are welcome!</p>
Contributions are welcome!</p>
</blockquote>
</blockquote>
<h2id="navigating-using-tree-sitter-textobjects"><aclass="header"href="#navigating-using-tree-sitter-textobjects">Navigating using tree-sitter textobjects</a></h2>
<h2id="navigating-using-tree-sitter-textobjects"><aclass="header"href="#navigating-using-tree-sitter-textobjects">Navigating using tree-sitter textobjects</a></h2>
@ -215,8 +215,8 @@ Contributions are welcome!</p>
possible using tree-sitter and textobject queries. For
possible using tree-sitter and textobject queries. For
example to move to the next function use <code>]f</code>, to move to previous
example to move to the next function use <code>]f</code>, to move to previous