config: add mouse-follows-focus option
This commit is contained in:
parent
0d4ee299d4
commit
216d104b73
14 changed files with 134 additions and 6 deletions
|
|
@ -2865,6 +2865,27 @@ Config:
|
|||
focus to that window.
|
||||
|
||||
The default is `true`.
|
||||
unstable-mouse-follows-focus:
|
||||
kind: boolean
|
||||
required: false
|
||||
description: |
|
||||
Configures whether the mouse cursor is automatically centered on the active window
|
||||
when focus changes via keyboard commands.
|
||||
|
||||
When enabled, the cursor will be automatically positioned to the center of the
|
||||
active window when focus changes through keyboard commands such as `focus-left`,
|
||||
`focus-right`, `show-workspace`, etc.
|
||||
|
||||
The default is `false`.
|
||||
|
||||
This option is unstable due to various issues. It is not subject to the usual
|
||||
semver guarantees.
|
||||
|
||||
- Example:
|
||||
|
||||
```toml
|
||||
unstable-mouse-follows-focus = true
|
||||
```
|
||||
window-management-key:
|
||||
kind: string
|
||||
required: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue