editor: Respect multi_cursor_modifier
setting when making columnar selections using mouse (#32273)
Closes https://github.com/zed-industries/zed/issues/31181 Release Notes: - Added the `multi_cursor_modifier` setting to be respected when making columnar selections using the mouse drag. --------- Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
This commit is contained in:
parent
037df8cec5
commit
0da97b0c8b
6 changed files with 82 additions and 45 deletions
|
@ -1924,6 +1924,30 @@ Example:
|
|||
|
||||
`boolean` values
|
||||
|
||||
## Multi Cursor Modifier
|
||||
|
||||
- Description: Determines the modifier to be used to add multiple cursors with the mouse. The open hover link mouse gestures will adapt such that it do not conflict with the multicursor modifier.
|
||||
- Setting: `multi_cursor_modifier`
|
||||
- Default: `alt`
|
||||
|
||||
**Options**
|
||||
|
||||
1. Maps to `Alt` on Linux and Windows and to `Option` on MacOS:
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"multi_cursor_modifier": "alt",
|
||||
}
|
||||
```
|
||||
|
||||
2. Maps `Control` on Linux and Windows and to `Command` on MacOS:
|
||||
|
||||
```jsonc
|
||||
{
|
||||
"multi_cursor_modifier": "cmd_or_ctrl", // alias: "cmd", "ctrl"
|
||||
}
|
||||
```
|
||||
|
||||
## Hover Popover Enabled
|
||||
|
||||
- Description: Whether or not to show the informational hover box when moving the mouse over symbols in the editor.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue