|
|
@ -578,6 +578,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>
|
|
|
|
<h2 id="normal-mode"><a class="header" href="#normal-mode">Normal mode</a></h2>
|
|
|
|
<h2 id="normal-mode"><a class="header" href="#normal-mode">Normal mode</a></h2>
|
|
|
|
|
|
|
|
<p>Normal mode is the default mode when you launch helix. Return to it from other modes by typing <code>Escape</code>.</p>
|
|
|
|
<h3 id="movement"><a class="header" href="#movement">Movement</a></h3>
|
|
|
|
<h3 id="movement"><a class="header" href="#movement">Movement</a></h3>
|
|
|
|
<blockquote>
|
|
|
|
<blockquote>
|
|
|
|
<p>NOTE: Unlike Vim, <code>f</code>, <code>F</code>, <code>t</code> and <code>T</code> are not confined to the current line.</p>
|
|
|
|
<p>NOTE: Unlike Vim, <code>f</code>, <code>F</code>, <code>t</code> and <code>T</code> are not confined to the current line.</p>
|
|
|
@ -860,6 +861,7 @@ useful when you're simply looking over text and not actively editing it.</p>
|
|
|
|
</tbody></table>
|
|
|
|
</tbody></table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<h2 id="insert-mode"><a class="header" href="#insert-mode">Insert mode</a></h2>
|
|
|
|
<h2 id="insert-mode"><a class="header" href="#insert-mode">Insert mode</a></h2>
|
|
|
|
|
|
|
|
<p>Accessed by typing <code>i</code> in <a href="keymap.html#normal-mode">normal mode</a>.</p>
|
|
|
|
<p>Insert mode bindings are minimal by default. Helix is designed to
|
|
|
|
<p>Insert mode bindings are minimal by default. Helix is designed to
|
|
|
|
be a modal editor, and this is reflected in the user experience and internal
|
|
|
|
be a modal editor, and this is reflected in the user experience and internal
|
|
|
|
mechanics. Changes to the text are only saved for undos when
|
|
|
|
mechanics. Changes to the text are only saved for undos when
|
|
|
@ -908,6 +910,7 @@ home = "no_op"
|
|
|
|
end = "no_op"
|
|
|
|
end = "no_op"
|
|
|
|
</code></pre>
|
|
|
|
</code></pre>
|
|
|
|
<h2 id="select--extend-mode"><a class="header" href="#select--extend-mode">Select / extend mode</a></h2>
|
|
|
|
<h2 id="select--extend-mode"><a class="header" href="#select--extend-mode">Select / extend mode</a></h2>
|
|
|
|
|
|
|
|
<p>Accessed by typing <code>v</code> in <a href="keymap.html#normal-mode">normal mode</a>.</p>
|
|
|
|
<p>Select mode echoes Normal mode, but changes any movements to extend
|
|
|
|
<p>Select mode echoes Normal mode, but changes any movements to extend
|
|
|
|
selections rather than replace them. Goto motions are also changed to
|
|
|
|
selections rather than replace them. Goto motions are also changed to
|
|
|
|
extend, so that <code>vgl</code>, for example, extends the selection to the end of
|
|
|
|
extend, so that <code>vgl</code>, for example, extends the selection to the end of
|
|
|
|