aboutsummaryrefslogtreecommitdiff
path: root/book/src/configuration.md
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-07 04:00:52 +0000
committerBlaž Hrastnik2021-09-07 04:03:48 +0000
commit4cc562318a9987d58384fdb4e88e5a1f59f25a19 (patch)
tree7ff80089aedbc0767a7a86cf0108cbdebd0f3ca2 /book/src/configuration.md
parent4ac29434cb99b517dba3752a287c0edfe8679e7e (diff)
Improve docs, fix up a few highlight scopes
Diffstat (limited to 'book/src/configuration.md')
-rw-r--r--book/src/configuration.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/book/src/configuration.md b/book/src/configuration.md
index 00dfbbd8..5a28362d 100644
--- a/book/src/configuration.md
+++ b/book/src/configuration.md
@@ -5,6 +5,19 @@ To override global configuration parameters, create a `config.toml` file located
* Linux and Mac: `~/.config/helix/config.toml`
* Windows: `%AppData%\helix\config.toml`
+## 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` |
+
## LSP
To display all language server messages in the status line add the following to your `config.toml`: