summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2024-01-31 19:12:02 +0100
committerCanop <cano.petrole@gmail.com>2024-01-31 19:12:02 +0100
commit15a8b5acfa8e80acbf024ee08e45f9ebbad5403b (patch)
treec1d7e59e48b8a47a8ce0a35d80e88bc3b3d8da31
parentf1841dcff544779c6726f82970be3744b2ba9dcf (diff)
document initial_mode
Fix #828
-rw-r--r--website/docs/modal.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/website/docs/modal.md b/website/docs/modal.md
index 15c553d..d912a29 100644
--- a/website/docs/modal.md
+++ b/website/docs/modal.md
@@ -13,14 +13,16 @@ You may be an avid vim user, as I am, and still prefer not to use modality in br
# Configuration
-You need first to enable the "modal mode" with this line in the configuration:
+You need first to enable the "modal mode" and to decide whether you want to start in `command` or `input` mode:
```hjson
modal: true
+initial_mode: command
```
```TOML
# note that this must be near the start of the configuration file
modal = true
+initial_mode = "command"
```
If `modal` isn't set to `true`, the single letter shortcuts you define in configuration will be ignored (so you don't have to remove them if you don't want modality anymore).