Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

docs: Document `focus_follows_mouse` (#63646)

Finn Eversad251e0a04e7
diff --git a/docs/src/reference/all-settings.md b/docs/src/reference/all-settings.md
index 9dee3518092..f38478d1467 100644
--- a/docs/src/reference/all-settings.md
+++ b/docs/src/reference/all-settings.md
@@ -2014,6 +2014,41 @@ While other options may be changed at a runtime and should be placed under `sett
}
```
+## Focus Follows Mouse
+
+- Description: Whether the focused panel follows the mouse location.
+- Setting: `focus_follows_mouse`
+- Default:
+
+```json [settings]
+{
+ "focus_follows_mouse": {
+ "enabled": false,
+ "debounce_ms": 250
+ }
+}
+```
+
+### Enabled
+
+- Description: Whether hovering over a dock or pane moves focus to it.
+- Setting: `enabled`
+- Default: `false`
+
+**Options**
+
+`boolean` values
+
+### Debounce
+
+- Description: How long the mouse must hover over a panel before it is focused, in milliseconds.
+- Setting: `debounce_ms`
+- Default: `250`
+
+**Options**
+
+Non-negative `integer` values
+
## Format On Save {#format-on-save}
- Description: Whether or not to perform a buffer format before saving.