Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Apply the suggestions that can be committed from the GitHub web interface.

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
  • Loading branch information
David-Else and the-mikedavis authored Jan 29, 2023
1 parent 3901d60 commit d932969
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion book/src/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ The following statusline elements can be configured:
Defines the shape of cursor in each mode.
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.
| Key | Description | Default |
Expand Down
2 changes: 1 addition & 1 deletion book/src/keymap.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ TODO: Mappings for selecting syntax nodes (a superset of `[`).
#### Window 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 |
| ----- | ------------- | ------- |
Expand Down
4 changes: 2 additions & 2 deletions book/src/remapping.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
this:

Expand Down Expand Up @@ -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.

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`.
2 changes: 1 addition & 1 deletion book/src/themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ supported by your terminal emulator.

### 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
inherits = "boo_berry"
Expand Down
5 changes: 4 additions & 1 deletion book/src/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

```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
Expand Down

0 comments on commit d932969

Please sign in to comment.