Add cursor_shape
setting for the default editor (#17572)
Closes https://github.com/zed-industries/zed/issues/16451, https://github.com/zed-industries/zed/issues/14447, https://github.com/zed-industries/zed/issues/7203 Addresses but does not closes https://github.com/zed-industries/zed/issues/5179 Expose cursor shape selection to users. Possibly controversial, since block cursor seems preserved for vim and terminal. But the heart wants what it wants? Release Notes: - Added a setting for `cursor_shape`. Can be `bar`, `block`, `underline`, or `hollow`. Default is `bar`.
This commit is contained in:
parent
d315405be1
commit
a141415bd3
5 changed files with 57 additions and 2 deletions
|
@ -293,6 +293,38 @@ List of `string` values
|
|||
|
||||
`boolean` values
|
||||
|
||||
## Cursor Shape
|
||||
|
||||
- Description: Cursor shape for the default editor.
|
||||
- Setting: `cursor_shape`
|
||||
- Default: `bar`
|
||||
|
||||
**Options**
|
||||
|
||||
1. A vertical bar:
|
||||
|
||||
```json
|
||||
"cursor_shape": "bar"
|
||||
```
|
||||
|
||||
2. A block that surrounds the following character:
|
||||
|
||||
```json
|
||||
"cursor_shape": "block"
|
||||
```
|
||||
|
||||
3. An underline that runs along the following character:
|
||||
|
||||
```json
|
||||
"cursor_shape": "underline"
|
||||
```
|
||||
|
||||
4. An box drawn around the following character:
|
||||
|
||||
```json
|
||||
"cursor_shape": "hollow"
|
||||
```
|
||||
|
||||
## Default Dock Anchor
|
||||
|
||||
- Description: The default anchor for new docks.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue