Apply suggestions from code review

Apply the suggestions that can be committed from the GitHub web interface.

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
pull/5534/head
David Else 2 years ago committed by GitHub
parent 3901d60911
commit d932969cfc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -124,7 +124,7 @@ The following statusline elements can be configured:
Defines the shape of cursor in each mode. Defines the shape of cursor in each mode.
Valid values for these options are `block`, `bar`, `underline`, or `hidden`. Valid values for these options are `block`, `bar`, `underline`, or `hidden`.
> 💡Due to limitations of the terminal environment, only the primary cursor can > 💡 Due to limitations of the terminal environment, only the primary cursor can
> change shape. > change shape.
| Key | Description | Default | | Key | Description | Default |

@ -238,7 +238,7 @@ TODO: Mappings for selecting syntax nodes (a superset of `[`).
#### Window mode #### Window mode
Window mode is accessed by typing `Ctrl-w` in [normal mode](#normal-mode), Window mode is accessed by typing `Ctrl-w` in [normal mode](#normal-mode),
this layer is similar to Vim keybindings as Kakoune does not support window. this layer is similar to Vim keybindings as Kakoune does not support windows.
| Key | Description | Command | | Key | Description | Command |
| ----- | ------------- | ------- | | ----- | ------------- | ------- |

@ -4,7 +4,7 @@ Helix currently supports one-way key remapping through a simple TOML configurati
file. (More powerful solutions such as rebinding via commands will be file. (More powerful solutions such as rebinding via commands will be
available in the future). available in the future).
To remap keys, create a `config.toml` file in your `Helix` configuration To remap keys, create a `config.toml` file in your `helix` configuration
directory (default `~/.config/helix` on Linux systems) with a structure like directory (default `~/.config/helix` on Linux systems) with a structure like
this: this:
@ -75,6 +75,6 @@ Ctrl, Shift and Alt modifiers are encoded respectively with the prefixes
Keys can be disabled by binding them to the `no_op` command. Keys can be disabled by binding them to the `no_op` command.
You can find a list of available commands at [Keymap](https://docs.helix-editor.com/keymap.html). You can find a list of available commands in the [Keymap](https://docs.helix-editor.com/keymap.html) documentation.
> Commands can also be found in the source code at [`helix-term/src/commands.rs`](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs) at the invocation of `static_commands!` macro and the `TypableCommandList`. > Commands can also be found in the source code at [`helix-term/src/commands.rs`](https://github.com/helix-editor/helix/blob/master/helix-term/src/commands.rs) at the invocation of `static_commands!` macro and the `TypableCommandList`.

@ -131,7 +131,7 @@ supported by your terminal emulator.
### Inheritance ### Inheritance
Extends other themes by setting the `inherits` property to an existing theme. Extend other themes by setting the `inherits` property to an existing theme.
```toml ```toml
inherits = "boo_berry" inherits = "boo_berry"

@ -121,7 +121,10 @@ If you have a selection that wraps `arg1` (see the tree above), and you use
Alt-n, it will select the next sibling in the syntax tree: `arg2`. Alt-n, it will select the next sibling in the syntax tree: `arg2`.
```js ```js
func([arg1], arg2, arg3) > func(arg1, [arg2], arg3); // before
func([arg1], arg2, arg3)
// after
func(arg1, [arg2], arg3);
``` ```
Similarly, Alt-o will expand the selection to the parent node, in this case, the Similarly, Alt-o will expand the selection to the parent node, in this case, the

Loading…
Cancel
Save