Skip to content

Commit

Permalink
[skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Sep 29, 2024
1 parent 5361b3b commit 2ace63a
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 68 deletions.
7 changes: 3 additions & 4 deletions custom-commands/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2169,7 +2169,7 @@ <h1 id="custom-repl-commands">Custom REPL Commands<a class="headerlink" href="#c
<li><code>$tail</code>: The text between the cursor and the end of the current list</li>
</ul>
<h2 id="user-and-workspace-settings">User and Workspace Settings<a class="headerlink" href="#user-and-workspace-settings" title="Permanent link">#</a></h2>
<p>Settings from your User (global) level and the workspace are merged.</p>
<p>Settings from your User (global) level and the workspace are concatenated. Except for the <code>key</code> field, are merged.</p>
<p>With these <strong>User</strong> settings:</p>
<div class="highlight"><pre><span></span><code><span class="w"> </span><span class="nt">&quot;calva.customREPLCommandSnippets&quot;</span><span class="p">:</span><span class="w"> </span><span class="p">[</span>
<span class="w"> </span><span class="p">{</span>
Expand Down Expand Up @@ -2206,8 +2206,7 @@ <h2 id="user-and-workspace-settings">User and Workspace Settings<a class="header
<span class="w"> </span><span class="p">}</span>
<span class="w"> </span><span class="p">],</span>
</code></pre></div>
<p>Issuing <strong>Run Custom REPL Command</strong> will then render this VS Code menu:</p>
<p><img alt="" src="../images/custom-command-menu.png" /></p>
<p>Issuing <strong>Run Custom REPL Command</strong> will then render a VS Code menu with all the commands, where the Workspace configured commands will be listed first.</p>
<p>The default keyboard shortcut for the command is <code>ctrl+alt+space space</code>. (Beware: on MacOS it may conflict with the default shortuct for Input Sources - Select next source in Input menu.)</p>
<h2 id="binding-keyboard-shortcuts">Binding Keyboard Shortcuts<a class="headerlink" href="#binding-keyboard-shortcuts" title="Permanent link">#</a></h2>
<p>There are four ways to bind shortcuts to custom commands:</p>
Expand All @@ -2216,7 +2215,7 @@ <h2 id="binding-keyboard-shortcuts">Binding Keyboard Shortcuts<a class="headerli
<li>The digits <code>0</code> through <code>9</code></li>
<li>The English letters <code>a</code> through <code>z</code></li>
<li>Arrow keys <code>right</code>, <code>left</code>, <code>up</code>, or <code>down</code></li>
<li>One of <code>tab</code>, <code>backspace</code>, <code>,</code>, <code>.</code>, or <code>-</code> </li>
<li>One of <code>tab</code>, <code>backspace</code>, <code>,</code>, <code>.</code>, or <code>-</code></li>
</ul>
</li>
<li>Bind <code>calva.runCustomREPLCommand</code> to a shortcut with whatever code you want to evaluate in the <code>args</code> slot. You have access to the substitution variables here as well.</li>
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Loading

0 comments on commit 2ace63a

Please sign in to comment.