mirror of
https://github.com/helix-editor/helix.git
synced 2024-08-17 06:40:47 +03:00
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>
This commit is contained in:
parent
3901d60911
commit
d932969cfc
@ -124,7 +124,7 @@ ### `[editor.cursor-shape]` Section
|
||||
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 |
|
||||
|
@ -238,7 +238,7 @@ #### Match mode
|
||||
#### 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 |
|
||||
| ----- | ------------- | ------- |
|
||||
|
@ -4,7 +4,7 @@ # Key Remapping
|
||||
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:
|
||||
|
||||
@ -75,6 +75,6 @@ ## Special keys and modifiers
|
||||
|
||||
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`.
|
||||
|
@ -131,7 +131,7 @@ ### Underline Style
|
||||
|
||||
### 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"
|
||||
|
@ -121,7 +121,10 @@ ## Moving the Primary Selection with Syntax-tree Motions
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user