You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: book/src/configuration.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ The `[editor.statusline]` key takes the following sub-keys:
94
94
95
95
| Key | Description | Default |
96
96
| --- | --- | --- |
97
-
|`left`| A list of elements aligned to the left of the statusline |`["mode", "spinner", "file-name", "read-only-indicator", "file-modification-indicator"]`|
97
+
|`left`| A list of elements aligned to the left of the statusline |`["mode", "spinner", "file-name", "read-only-indicator", "zoom", "file-modification-indicator"]`|
98
98
|`center`| A list of elements aligned to the middle of the statusline |`[]`|
99
99
|`right`| A list of elements aligned to the right of the statusline |`["diagnostics", "selections", "register", "position", "file-encoding"]`|
100
100
|`separator`| The character used to separate elements in the statusline |`"│"`|
@@ -127,6 +127,7 @@ The following statusline elements can be configured:
127
127
|`spacer`| Inserts a space between elements (multiple/contiguous spacers may be specified) |
128
128
|`version-control`| The current branch name or detached commit hash of the opened workspace |
Zen-view will center the currently-focused editor on the screen and hide all the others, useful for when you want to focus on editing
412
+
a single file with either a wider monitor or if you have a lot of splits at once.
413
+
414
+
| Key | Description | Default |
415
+
|--------------|-------------|---------|
416
+
|`max-width`| The maximum width that the zen-view will take up. |`120`|
417
+
|`auto-enter`| Whether zen-view should be automatically entered on startup. Can be one of `"off"` (never auto-enter), `"single-file"` (only auto-enter if Helix is opened with a single file), `"multi-file"` (only auto-enter if opened with >1 files), `"always"` (always start in zen-view). |`"off"`|
418
+
419
+
#### `[editor.zen-view.gutters]` Section
420
+
421
+
Same as the [normal gutters](#editorgutters-section) option, but specifically for zen-view.
422
+
It only supports the `layout` option currently (including setting `gutters = [...]` directly).
0 commit comments