mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-23 01:46:18 +04:00
deploy: 29f77b9c5f
This commit is contained in:
parent
e0c02c0ecd
commit
1498c6ea69
10
keymap.html
10
keymap.html
@ -282,10 +282,10 @@ the selection.</p>
|
||||
<h2 id="window-mode"><a class="header" href="#window-mode">Window mode</a></h2>
|
||||
<p>This layer is similar to vim keybindings as kakoune does not support window.</p>
|
||||
<table><thead><tr><th>Key</th><th>Description</th></tr></thead><tbody>
|
||||
<tr><td><code>w</code>, <code>ctrl-w</code></td><td>Switch to next window</td></tr>
|
||||
<tr><td><code>v</code>, <code>ctrl-v</code></td><td>Vertical right split</td></tr>
|
||||
<tr><td><code>h</code>, <code>ctrl-h</code></td><td>Horizontal bottom split</td></tr>
|
||||
<tr><td><code>q</code>, <code>ctrl-q</code></td><td>Close current window</td></tr>
|
||||
<tr><td><code>w</code>, <code>Ctrl-w</code></td><td>Switch to next window</td></tr>
|
||||
<tr><td><code>v</code>, <code>Ctrl-v</code></td><td>Vertical right split</td></tr>
|
||||
<tr><td><code>h</code>, <code>Ctrl-h</code></td><td>Horizontal bottom split</td></tr>
|
||||
<tr><td><code>q</code>, <code>Ctrl-q</code></td><td>Close current window</td></tr>
|
||||
</tbody></table>
|
||||
<h2 id="space-mode"><a class="header" href="#space-mode">Space mode</a></h2>
|
||||
<p>This layer is a kludge of mappings I had under leader key in neovim.</p>
|
||||
@ -305,7 +305,7 @@ the selection.</p>
|
||||
<tr><td><code>Enter</code></td><td>Open selected</td></tr>
|
||||
<tr><td><code>Ctrl-h</code></td><td>Open horizontally</td></tr>
|
||||
<tr><td><code>Ctrl-v</code></td><td>Open vertically</td></tr>
|
||||
<tr><td><code>Escape</code>, <code>ctrl-c</code></td><td>Close picker</td></tr>
|
||||
<tr><td><code>Escape</code>, <code>Ctrl-c</code></td><td>Close picker</td></tr>
|
||||
</tbody></table>
|
||||
|
||||
</main>
|
||||
|
62
print.html
62
print.html
@ -187,7 +187,7 @@ it with:</p>
|
||||
<div style="break-before: page; page-break-before: always;"></div><h1 id="themes"><a class="header" href="#themes">Themes</a></h1>
|
||||
<p>First you'll need to place selected themes in your <code>themes</code> directory (i.e <code>~/.config/helix/themes</code>), the directory might have to be created beforehand.</p>
|
||||
<p>To use a custom theme add <code>theme = <name></code> to your <a href="./configuration.html"><code>config.toml</code></a> or override it during runtime using <code>:theme <name></code>.</p>
|
||||
<p>The default theme.toml can be found <a href="https://github.com/helix-editor/helix/blob/master/theme.toml">here</a>, and user submitted themes <a href="https://github.com/helix-editor/helix/blob/master/contrib/themes">here</a>. </p>
|
||||
<p>The default theme.toml can be found <a href="https://github.com/helix-editor/helix/blob/master/theme.toml">here</a>, and user submitted themes <a href="https://github.com/helix-editor/helix/blob/master/runtime/themes">here</a>. </p>
|
||||
<h2 id="creating-a-theme"><a class="header" href="#creating-a-theme">Creating a theme</a></h2>
|
||||
<p>First create a file with the name of your theme as file name (i.e <code>mytheme.toml</code>) and place it in your <code>themes</code> directory (i.e <code>~/.config/helix/themes</code>).</p>
|
||||
<p>Each line in the theme file is specified as below:</p>
|
||||
@ -394,10 +394,10 @@ the selection.</p>
|
||||
<h2 id="window-mode"><a class="header" href="#window-mode">Window mode</a></h2>
|
||||
<p>This layer is similar to vim keybindings as kakoune does not support window.</p>
|
||||
<table><thead><tr><th>Key</th><th>Description</th></tr></thead><tbody>
|
||||
<tr><td><code>w</code>, <code>ctrl-w</code></td><td>Switch to next window</td></tr>
|
||||
<tr><td><code>v</code>, <code>ctrl-v</code></td><td>Vertical right split</td></tr>
|
||||
<tr><td><code>h</code>, <code>ctrl-h</code></td><td>Horizontal bottom split</td></tr>
|
||||
<tr><td><code>q</code>, <code>ctrl-q</code></td><td>Close current window</td></tr>
|
||||
<tr><td><code>w</code>, <code>Ctrl-w</code></td><td>Switch to next window</td></tr>
|
||||
<tr><td><code>v</code>, <code>Ctrl-v</code></td><td>Vertical right split</td></tr>
|
||||
<tr><td><code>h</code>, <code>Ctrl-h</code></td><td>Horizontal bottom split</td></tr>
|
||||
<tr><td><code>q</code>, <code>Ctrl-q</code></td><td>Close current window</td></tr>
|
||||
</tbody></table>
|
||||
<h2 id="space-mode"><a class="header" href="#space-mode">Space mode</a></h2>
|
||||
<p>This layer is a kludge of mappings I had under leader key in neovim.</p>
|
||||
@ -417,7 +417,7 @@ the selection.</p>
|
||||
<tr><td><code>Enter</code></td><td>Open selected</td></tr>
|
||||
<tr><td><code>Ctrl-h</code></td><td>Open horizontally</td></tr>
|
||||
<tr><td><code>Ctrl-v</code></td><td>Open vertically</td></tr>
|
||||
<tr><td><code>Escape</code>, <code>ctrl-c</code></td><td>Close picker</td></tr>
|
||||
<tr><td><code>Escape</code>, <code>Ctrl-c</code></td><td>Close picker</td></tr>
|
||||
</tbody></table>
|
||||
<div style="break-before: page; page-break-before: always;"></div><h1 id="key-remapping"><a class="header" href="#key-remapping">Key Remapping</a></h1>
|
||||
<p>One-way key remapping is temporarily supported via a simple TOML configuration
|
||||
@ -437,31 +437,31 @@ A-x = "normal_mode" # Maps Alt-X to enter normal mode
|
||||
</code></pre>
|
||||
<p>Control, Shift and Alt modifiers are encoded respectively with the prefixes
|
||||
<code>C-</code>, <code>S-</code> and <code>A-</code>. Special keys are encoded as follows:</p>
|
||||
<ul>
|
||||
<li>Backspace => "backspace"</li>
|
||||
<li>Space => "space"</li>
|
||||
<li>Return/Enter => "ret"</li>
|
||||
<li>< => "lt"</li>
|
||||
<li>> => "gt"</li>
|
||||
<li>+ => "plus"</li>
|
||||
<li>- => "minus"</li>
|
||||
<li>; => "semicolon"</li>
|
||||
<li>% => "percent"</li>
|
||||
<li>Left => "left"</li>
|
||||
<li>Right => "right"</li>
|
||||
<li>Up => "up"</li>
|
||||
<li>Home => "home"</li>
|
||||
<li>End => "end"</li>
|
||||
<li>Page Up => "pageup"</li>
|
||||
<li>Page Down => "pagedown"</li>
|
||||
<li>Tab => "tab"</li>
|
||||
<li>Back Tab => "backtab"</li>
|
||||
<li>Delete => "del"</li>
|
||||
<li>Insert => "ins"</li>
|
||||
<li>Null => "null"</li>
|
||||
<li>Escape => "esc"</li>
|
||||
</ul>
|
||||
<p>Commands can be found in the source code at <code>../../helix-term/src/commands.rs</code></p>
|
||||
<table><thead><tr><th>Key name</th><th>Representation</th></tr></thead><tbody>
|
||||
<tr><td>Backspace</td><td><code>"backspace"</code></td></tr>
|
||||
<tr><td>Space</td><td><code>"space"</code></td></tr>
|
||||
<tr><td>Return/Enter</td><td><code>"ret"</code></td></tr>
|
||||
<tr><td><</td><td><code>"lt"</code></td></tr>
|
||||
<tr><td>></td><td><code>"gt"</code></td></tr>
|
||||
<tr><td>+</td><td><code>"plus"</code></td></tr>
|
||||
<tr><td>-</td><td><code>"minus"</code></td></tr>
|
||||
<tr><td>;</td><td><code>"semicolon"</code></td></tr>
|
||||
<tr><td>%</td><td><code>"percent"</code></td></tr>
|
||||
<tr><td>Left</td><td><code>"left"</code></td></tr>
|
||||
<tr><td>Right</td><td><code>"right"</code></td></tr>
|
||||
<tr><td>Up</td><td><code>"up"</code></td></tr>
|
||||
<tr><td>Home</td><td><code>"home"</code></td></tr>
|
||||
<tr><td>End</td><td><code>"end"</code></td></tr>
|
||||
<tr><td>Page</td><td><code>"pageup"</code></td></tr>
|
||||
<tr><td>Page</td><td><code>"pagedown"</code></td></tr>
|
||||
<tr><td>Tab</td><td><code>"tab"</code></td></tr>
|
||||
<tr><td>Back</td><td><code>"backtab"</code></td></tr>
|
||||
<tr><td>Delete</td><td><code>"del"</code></td></tr>
|
||||
<tr><td>Insert</td><td><code>"ins"</code></td></tr>
|
||||
<tr><td>Null</td><td><code>"null"</code></td></tr>
|
||||
<tr><td>Escape</td><td><code>"esc"</code></td></tr>
|
||||
</tbody></table>
|
||||
<p>Commands can be found in the source code at <a href="https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs"><code>helix-term/src/commands.rs</code></a></p>
|
||||
<div style="break-before: page; page-break-before: always;"></div><h1 id="hooks"><a class="header" href="#hooks">Hooks</a></h1>
|
||||
|
||||
</main>
|
||||
|
@ -163,31 +163,31 @@ A-x = "normal_mode" # Maps Alt-X to enter normal mode
|
||||
</code></pre>
|
||||
<p>Control, Shift and Alt modifiers are encoded respectively with the prefixes
|
||||
<code>C-</code>, <code>S-</code> and <code>A-</code>. Special keys are encoded as follows:</p>
|
||||
<ul>
|
||||
<li>Backspace => "backspace"</li>
|
||||
<li>Space => "space"</li>
|
||||
<li>Return/Enter => "ret"</li>
|
||||
<li>< => "lt"</li>
|
||||
<li>> => "gt"</li>
|
||||
<li>+ => "plus"</li>
|
||||
<li>- => "minus"</li>
|
||||
<li>; => "semicolon"</li>
|
||||
<li>% => "percent"</li>
|
||||
<li>Left => "left"</li>
|
||||
<li>Right => "right"</li>
|
||||
<li>Up => "up"</li>
|
||||
<li>Home => "home"</li>
|
||||
<li>End => "end"</li>
|
||||
<li>Page Up => "pageup"</li>
|
||||
<li>Page Down => "pagedown"</li>
|
||||
<li>Tab => "tab"</li>
|
||||
<li>Back Tab => "backtab"</li>
|
||||
<li>Delete => "del"</li>
|
||||
<li>Insert => "ins"</li>
|
||||
<li>Null => "null"</li>
|
||||
<li>Escape => "esc"</li>
|
||||
</ul>
|
||||
<p>Commands can be found in the source code at <code>../../helix-term/src/commands.rs</code></p>
|
||||
<table><thead><tr><th>Key name</th><th>Representation</th></tr></thead><tbody>
|
||||
<tr><td>Backspace</td><td><code>"backspace"</code></td></tr>
|
||||
<tr><td>Space</td><td><code>"space"</code></td></tr>
|
||||
<tr><td>Return/Enter</td><td><code>"ret"</code></td></tr>
|
||||
<tr><td><</td><td><code>"lt"</code></td></tr>
|
||||
<tr><td>></td><td><code>"gt"</code></td></tr>
|
||||
<tr><td>+</td><td><code>"plus"</code></td></tr>
|
||||
<tr><td>-</td><td><code>"minus"</code></td></tr>
|
||||
<tr><td>;</td><td><code>"semicolon"</code></td></tr>
|
||||
<tr><td>%</td><td><code>"percent"</code></td></tr>
|
||||
<tr><td>Left</td><td><code>"left"</code></td></tr>
|
||||
<tr><td>Right</td><td><code>"right"</code></td></tr>
|
||||
<tr><td>Up</td><td><code>"up"</code></td></tr>
|
||||
<tr><td>Home</td><td><code>"home"</code></td></tr>
|
||||
<tr><td>End</td><td><code>"end"</code></td></tr>
|
||||
<tr><td>Page</td><td><code>"pageup"</code></td></tr>
|
||||
<tr><td>Page</td><td><code>"pagedown"</code></td></tr>
|
||||
<tr><td>Tab</td><td><code>"tab"</code></td></tr>
|
||||
<tr><td>Back</td><td><code>"backtab"</code></td></tr>
|
||||
<tr><td>Delete</td><td><code>"del"</code></td></tr>
|
||||
<tr><td>Insert</td><td><code>"ins"</code></td></tr>
|
||||
<tr><td>Null</td><td><code>"null"</code></td></tr>
|
||||
<tr><td>Escape</td><td><code>"esc"</code></td></tr>
|
||||
</tbody></table>
|
||||
<p>Commands can be found in the source code at <a href="https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs"><code>helix-term/src/commands.rs</code></a></p>
|
||||
|
||||
</main>
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -148,7 +148,7 @@
|
||||
<h1 id="themes"><a class="header" href="#themes">Themes</a></h1>
|
||||
<p>First you'll need to place selected themes in your <code>themes</code> directory (i.e <code>~/.config/helix/themes</code>), the directory might have to be created beforehand.</p>
|
||||
<p>To use a custom theme add <code>theme = <name></code> to your <a href="./configuration.html"><code>config.toml</code></a> or override it during runtime using <code>:theme <name></code>.</p>
|
||||
<p>The default theme.toml can be found <a href="https://github.com/helix-editor/helix/blob/master/theme.toml">here</a>, and user submitted themes <a href="https://github.com/helix-editor/helix/blob/master/contrib/themes">here</a>. </p>
|
||||
<p>The default theme.toml can be found <a href="https://github.com/helix-editor/helix/blob/master/theme.toml">here</a>, and user submitted themes <a href="https://github.com/helix-editor/helix/blob/master/runtime/themes">here</a>. </p>
|
||||
<h2 id="creating-a-theme"><a class="header" href="#creating-a-theme">Creating a theme</a></h2>
|
||||
<p>First create a file with the name of your theme as file name (i.e <code>mytheme.toml</code>) and place it in your <code>themes</code> directory (i.e <code>~/.config/helix/themes</code>).</p>
|
||||
<p>Each line in the theme file is specified as below:</p>
|
||||
|
Loading…
Reference in New Issue
Block a user