This commit is contained in:
the-mikedavis 2022-10-04 14:41:12 +00:00
parent ad23edb53b
commit 82a2758cd6
4 changed files with 26 additions and 2 deletions

View File

@ -476,6 +476,18 @@ with modal editors.</p>
<tr><td><code>End</code></td><td>Move to line end</td><td><code>goto_line_end_newline</code></td></tr> <tr><td><code>End</code></td><td>Move to line end</td><td><code>goto_line_end_newline</code></td></tr>
</tbody></table> </tbody></table>
</div> </div>
<p>If you want to disable them in insert mode as you become more comfortable with modal editing, you can use
the following in your <code>config.toml</code>:</p>
<pre><code class="language-toml">[keys.insert]
up = &quot;no_op&quot;
down = &quot;no_op&quot;
left = &quot;no_op&quot;
right = &quot;no_op&quot;
pageup = &quot;no_op&quot;
pagedown = &quot;no_op&quot;
home = &quot;no_op&quot;
end = &quot;no_op&quot;
</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>This mode echoes Normal mode, but changes any movements to extend <p>This 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

View File

@ -675,6 +675,18 @@ with modal editors.</p>
<tr><td><code>End</code></td><td>Move to line end</td><td><code>goto_line_end_newline</code></td></tr> <tr><td><code>End</code></td><td>Move to line end</td><td><code>goto_line_end_newline</code></td></tr>
</tbody></table> </tbody></table>
</div> </div>
<p>If you want to disable them in insert mode as you become more comfortable with modal editing, you can use
the following in your <code>config.toml</code>:</p>
<pre><code class="language-toml">[keys.insert]
up = &quot;no_op&quot;
down = &quot;no_op&quot;
left = &quot;no_op&quot;
right = &quot;no_op&quot;
pageup = &quot;no_op&quot;
pagedown = &quot;no_op&quot;
home = &quot;no_op&quot;
end = &quot;no_op&quot;
</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>This mode echoes Normal mode, but changes any movements to extend <p>This 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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long