gh-pages
the-mikedavis 2025-01-03 14:11:51 +00:00
parent 494545e8e3
commit 4c532f85a2
4 changed files with 4 additions and 4 deletions

View File

@ -455,7 +455,7 @@ can be accessed via the command <code>hx --tutor</code> or <code>:tutor</code>.<
<h2 id="selection-first-editing"><a class="header" href="#selection-first-editing">Selection-first editing</a></h2> <h2 id="selection-first-editing"><a class="header" href="#selection-first-editing">Selection-first editing</a></h2>
<p>Inspired by <a href="http://kakoune.org/">Kakoune</a>, Helix follows the <code>selection → action</code> model. This means that whatever you are going to act on (a word, a paragraph, a line, etc.) is selected first and the action itself (delete, change, yank, etc.) comes second. A cursor is simply a single width selection.</p> <p>Inspired by <a href="http://kakoune.org/">Kakoune</a>, Helix follows the <code>selection → action</code> model. This means that whatever you are going to act on (a word, a paragraph, a line, etc.) is selected first and the action itself (delete, change, yank, etc.) comes second. A cursor is simply a single width selection.</p>
<h2 id="multiple-selections"><a class="header" href="#multiple-selections">Multiple selections</a></h2> <h2 id="multiple-selections"><a class="header" href="#multiple-selections">Multiple selections</a></h2>
<p>Also inspired by Kakoune, multiple selections are a core mode of interaction in Helix. For example, the standard way of replacing multiple instance of a word is to first select all instances (so there is one selection per instance) and then use the change action (<code>c</code>) to edit them all at the same time.</p> <p>Also inspired by Kakoune, multiple selections are a core mode of interaction in Helix. For example, the standard way of replacing multiple instances of a word is to first select all instances (so there is one selection per instance) and then use the change action (<code>c</code>) to edit them all at the same time.</p>
<h2 id="motions"><a class="header" href="#motions">Motions</a></h2> <h2 id="motions"><a class="header" href="#motions">Motions</a></h2>
<p>Motions are commands that move the cursor or modify selections. They're used for navigation and text manipulation. Examples include <code>w</code> to move to the next word, or <code>f</code> to find a character. See the <a href="./keymap.html#movement">Movement</a> section of the keymap for more motions.</p> <p>Motions are commands that move the cursor or modify selections. They're used for navigation and text manipulation. Examples include <code>w</code> to move to the next word, or <code>f</code> to find a character. See the <a href="./keymap.html#movement">Movement</a> section of the keymap for more motions.</p>
<div style="break-before: page; page-break-before: always;"></div><h2 id="registers"><a class="header" href="#registers">Registers</a></h2> <div style="break-before: page; page-break-before: always;"></div><h2 id="registers"><a class="header" href="#registers">Registers</a></h2>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -180,7 +180,7 @@ can be accessed via the command <code>hx --tutor</code> or <code>:tutor</code>.<
<h2 id="selection-first-editing"><a class="header" href="#selection-first-editing">Selection-first editing</a></h2> <h2 id="selection-first-editing"><a class="header" href="#selection-first-editing">Selection-first editing</a></h2>
<p>Inspired by <a href="http://kakoune.org/">Kakoune</a>, Helix follows the <code>selection → action</code> model. This means that whatever you are going to act on (a word, a paragraph, a line, etc.) is selected first and the action itself (delete, change, yank, etc.) comes second. A cursor is simply a single width selection.</p> <p>Inspired by <a href="http://kakoune.org/">Kakoune</a>, Helix follows the <code>selection → action</code> model. This means that whatever you are going to act on (a word, a paragraph, a line, etc.) is selected first and the action itself (delete, change, yank, etc.) comes second. A cursor is simply a single width selection.</p>
<h2 id="multiple-selections"><a class="header" href="#multiple-selections">Multiple selections</a></h2> <h2 id="multiple-selections"><a class="header" href="#multiple-selections">Multiple selections</a></h2>
<p>Also inspired by Kakoune, multiple selections are a core mode of interaction in Helix. For example, the standard way of replacing multiple instance of a word is to first select all instances (so there is one selection per instance) and then use the change action (<code>c</code>) to edit them all at the same time.</p> <p>Also inspired by Kakoune, multiple selections are a core mode of interaction in Helix. For example, the standard way of replacing multiple instances of a word is to first select all instances (so there is one selection per instance) and then use the change action (<code>c</code>) to edit them all at the same time.</p>
<h2 id="motions"><a class="header" href="#motions">Motions</a></h2> <h2 id="motions"><a class="header" href="#motions">Motions</a></h2>
<p>Motions are commands that move the cursor or modify selections. They're used for navigation and text manipulation. Examples include <code>w</code> to move to the next word, or <code>f</code> to find a character. See the <a href="./keymap.html#movement">Movement</a> section of the keymap for more motions.</p> <p>Motions are commands that move the cursor or modify selections. They're used for navigation and text manipulation. Examples include <code>w</code> to move to the next word, or <code>f</code> to find a character. See the <a href="./keymap.html#movement">Movement</a> section of the keymap for more motions.</p>