Gaku Kanematsu
c15382c4d8
vim: Add cursor shape settings for each vim mode ( #28636 )
...
Closes #4495
Release Notes:
- vim: add cursor shape settings for each vim mode
---
Add cursor shape settings for each vim mode to enable users to specify
them.
Example of `settings.json`:
```json
{
"vim_mode": true,
"vim": {
"cursor_shape": {
"normal": "hollow",
"insert": "bar",
"replace": "block",
"visual": "underline"
}
}
}
```
After this change is applied,
- The cursor shape specified by the user for each mode is used.
- In insert mode, the `vim > cursor_shape > insert` setting takes
precedence over the primary `cursor_shape` setting.
- If `vim > cursor_shape > insert` is not set, the primary
`cursor_shape` will be used in insert mode.
- The cursor shape will remain unchanged before and after this update
when the user does not set the `vim > cursor_shape` setting.
Video:
[screen-record.webm](https://github.com/user-attachments/assets/b87461a1-6b3a-4a77-a607-a340f106def5 )
2025-04-21 18:42:04 -06:00
..
2025-04-07 18:10:01 +00:00
2025-04-21 22:28:32 +00:00
2025-04-19 23:26:29 +00:00
2025-04-16 19:46:36 -04:00
2025-04-02 13:26:34 -07:00
2025-04-21 20:16:51 +00:00
2025-04-21 01:12:57 +00:00
2025-04-11 00:01:33 +00:00
2025-04-02 13:26:34 -07:00
2025-04-21 20:16:51 +00:00
2025-04-21 22:28:32 +00:00
2025-04-21 22:28:32 +00:00
2025-04-02 13:26:34 -07:00
2025-04-14 10:36:31 -07:00
2025-04-15 09:35:13 -06:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-19 23:26:29 +00:00
2025-04-07 20:26:55 +00:00
2025-04-10 22:58:41 +00:00
2025-04-08 16:01:27 +00:00
2025-04-02 13:26:34 -07:00
2025-04-11 17:38:14 +00:00
2025-04-08 09:17:08 -06:00
2025-04-02 13:26:34 -07:00
2025-04-21 16:00:03 +00:00
2025-04-20 00:53:30 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-17 17:29:19 +00:00
2025-04-21 11:28:49 -03:00
2025-04-15 14:28:09 +00:00
2025-04-02 13:26:34 -07:00
2025-04-19 23:26:29 +00:00
2025-04-02 13:26:34 -07:00
2025-04-21 16:00:03 +00:00
2025-04-21 16:00:03 +00:00
2025-04-15 14:59:42 +00:00
2025-04-21 16:00:03 +00:00
2025-04-21 16:00:03 +00:00
2025-04-19 23:26:29 +00:00
2025-04-16 22:31:04 -06:00
2025-04-02 13:26:34 -07:00
2025-04-22 00:37:04 +02:00
2025-04-21 23:59:35 +00:00
2025-04-11 22:01:25 +00:00
2025-03-31 20:55:27 +02:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-16 19:25:00 +02:00
2025-04-15 21:36:30 -04:00
2025-04-11 23:02:50 +00:00
2025-04-02 13:26:34 -07:00
2025-04-17 11:06:56 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-17 16:13:02 +00:00
2025-04-02 13:26:34 -07:00
2025-04-18 20:41:02 +00:00
2025-04-17 22:14:44 -06:00
2025-04-19 23:26:29 +00:00
2025-04-21 16:38:36 +08:00
2025-04-20 00:53:30 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-11 23:02:50 +00:00
2025-04-02 13:26:34 -07:00
2025-04-10 21:16:43 +00:00
2025-04-18 14:15:19 +00:00
2025-04-18 14:15:19 +00:00
2025-04-11 01:47:40 +05:30
2025-04-02 13:26:34 -07:00
2025-04-21 02:24:51 +00:00
2025-04-02 13:26:34 -07:00
2025-04-21 22:28:32 +00:00
2025-04-21 01:12:57 +00:00
2025-04-21 22:28:32 +00:00
2025-04-02 13:26:34 -07:00
2025-04-19 22:23:03 +08:00
2025-04-18 12:44:13 -04:00
2025-04-02 13:26:34 -07:00
2025-04-08 16:01:27 +00:00
2025-04-02 13:26:34 -07:00
2025-04-07 10:35:11 -06:00
2025-04-21 22:28:32 +00:00
2025-04-21 19:29:21 -04:00
2025-04-07 18:46:09 +00:00
2025-04-02 13:26:34 -07:00
2025-04-21 17:03:42 +00:00
2025-04-19 23:29:36 +00:00
2025-04-16 12:35:40 -06:00
2025-04-10 21:16:43 +00:00
2025-04-08 16:09:06 -06:00
2025-04-02 13:26:34 -07:00
2025-04-19 23:26:29 +00:00
2025-04-10 23:22:27 +00:00
2025-04-17 01:44:00 +05:30
2025-04-02 13:26:34 -07:00
2025-04-19 10:41:03 -07:00
2025-04-11 23:02:50 +00:00
2025-04-02 13:26:34 -07:00
2025-04-21 14:25:38 -04:00
2025-04-17 11:06:56 -07:00
2025-04-02 13:26:34 -07:00
2025-04-21 20:16:51 +00:00
2025-04-21 20:16:51 +00:00
2025-04-21 16:00:03 +00:00
2025-04-21 16:00:03 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-21 16:00:03 +00:00
2025-04-08 09:17:08 -06:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-03 23:32:50 +02:00
2025-04-16 20:22:44 +00:00
2025-04-02 13:26:34 -07:00
2025-04-20 00:53:30 +00:00
2025-04-18 20:41:02 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-19 22:23:03 +08:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-18 12:11:54 +00:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-08 16:09:06 -06:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-08 15:57:36 -06:00
2025-04-21 16:00:03 +00:00
2025-04-21 16:00:03 +00:00
2025-04-02 13:26:34 -07:00
2025-04-04 19:28:32 -04:00
2025-04-21 16:00:03 +00:00
2025-04-21 16:00:03 +00:00
2025-04-09 01:53:54 +00:00
2025-04-09 10:49:39 -04:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-02 13:26:34 -07:00
2025-04-18 04:23:56 +05:30
2025-04-16 19:05:57 +02:00
2025-04-21 10:56:42 -03:00
2025-04-08 16:09:06 -06:00
2025-04-08 16:09:06 -06:00
2025-04-07 19:03:24 +00:00
2025-04-18 15:04:26 -06:00
2025-04-02 13:26:34 -07:00
2025-04-21 18:42:04 -06:00
2025-04-02 13:26:34 -07:00
2025-04-16 19:25:00 +02:00
2025-04-16 19:25:00 +02:00
2025-04-11 01:47:40 +05:30
2025-04-21 16:00:03 +00:00
2025-04-19 02:47:59 +00:00
2025-04-21 16:00:03 +00:00
2025-04-21 20:16:51 +00:00
2025-04-18 14:15:19 +00:00
2025-04-21 16:00:03 +00:00
2025-04-14 14:17:07 +00:00