@@ -68,13 +68,27 @@ left = ["mode", "spinner"]
6868center = ["file-name"]
6969right = ["diagnostics", "selections", "position", "file-encoding", "file-line-ending", "file-type"]
7070separator = "│"
71+mode.normal = "NORMAL"
72+mode.insert = "INSERT"
73+mode.select = "SELECT"
7174```
75+The `[editor.statusline]` key takes the following sub-keys:
7276
73−The following elements can be configured:
77+| Key | Description | Default |
78+| --- | --- | --- |
79+| `left` | A list of elements aligned to the left of the statusline | `["mode", "spinner", "file-name"]` |
80+| `center` | A list of elements aligned to the middle of the statusline | `[]` |
81+| `right` | A list of elements aligned to the right of the statusline | `["diagnostics", "selections", "position", "file-encoding"]` |
82+| `separator` | The character used to separate elements in the statusline | `"│"` |
83+| `mode.normal` | The text shown in the `mode` element for normal mode | `"NOR"` |
84+| `mode.insert` | The text shown in the `mode` element for insert mode | `"INS"` |
85+| `mode.select` | The text shown in the `mode` element for select mode | `"SEL"` |
86+
87+The following statusline elements can be configured:
7488
7589| Key | Description |
7690| ------ | ----------- |
77−| `mode` | The current editor mode (`NOR`/`INS`/`SEL`) |
91+| `mode` | The current editor mode (`mode.normal`/`mode.insert`/`mode.select`) |
7892| `spinner` | A progress spinner indicating LSP activity |
7993| `file-name` | The path/name of the opened file |
8094| `file-encoding` | The encoding of the opened file if it differs from UTF-8 |