config: add mouse-follows-focus option
This commit is contained in:
parent
0d4ee299d4
commit
216d104b73
14 changed files with 134 additions and 6 deletions
|
|
@ -2076,6 +2076,28 @@ The table has the following fields:
|
|||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `unstable-mouse-follows-focus` (optional):
|
||||
|
||||
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
|
||||
```
|
||||
|
||||
The value of this field should be a boolean.
|
||||
|
||||
- `window-management-key` (optional):
|
||||
|
||||
Configures a key that will enable window management mode while pressed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue