2021-04-05 08:18:43 +02:00
|
|
|
# Configuration
|
2021-06-06 14:45:59 +02:00
|
|
|
|
2021-08-16 14:19:05 +02:00
|
|
|
To override global configuration parameters, create a `config.toml` file located in your config directory:
|
|
|
|
|
|
|
|
* Linux and Mac: `~/.config/helix/config.toml`
|
|
|
|
* Windows: `%AppData%\helix\config.toml`
|
2021-06-19 13:19:31 +02:00
|
|
|
|
2021-09-07 06:00:52 +02:00
|
|
|
## Editor
|
|
|
|
|
|
|
|
`[editor]` section of the config.
|
|
|
|
|
|
|
|
| Key | Description | Default |
|
|
|
|
|--|--|---------|
|
|
|
|
| `scrolloff` | Number of lines of padding around the edge of the screen when scrolling. | `3` |
|
|
|
|
| `mouse` | Enable mouse mode. | `true` |
|
|
|
|
| `middle-click-paste` | Middle click paste support. | `true` |
|
|
|
|
| `scroll-lines` | Number of lines to scroll per scroll wheel step. | `3` |
|
|
|
|
| `shell` | Shell to use when running external commands. | Unix: `["sh", "-c"]`<br/>Windows: `["cmd", "/C"]` |
|
|
|
|
| `line-number` | Line number display (`absolute`, `relative`) | `absolute` |
|
2021-09-20 06:45:07 +02:00
|
|
|
| `smart-case` | Enable smart case regex searching (case insensitive unless pattern contains upper case characters) | `true` |
|
2021-09-07 06:00:52 +02:00
|
|
|
|
2021-06-18 05:57:36 +02:00
|
|
|
## LSP
|
|
|
|
|
2021-06-20 21:31:03 +02:00
|
|
|
To display all language server messages in the status line add the following to your `config.toml`:
|
2021-06-18 05:57:36 +02:00
|
|
|
```toml
|
2021-06-20 21:31:03 +02:00
|
|
|
[lsp]
|
|
|
|
display-messages = true
|
2021-06-18 05:57:36 +02:00
|
|
|
```
|