Files
oak-gpui/crates/vim/test_data
Benjamin Davies 26d0a33e79 Add Vim digraphs (#14887)
Vim digraphs are a way to insert special characters using sequences of
two ASCII characters. I've implemented the feature using a new `Digraph`
operator, following the example of `AddSurrounds`. There are still a few
issues that I'm not sure what the best way to resolve them is.

- To insert `ş`, the user must pause between pressing `ctrl-k` and `s
,`, otherwise it triggers the binding for `ctrl-k s`. Is there a way to
disable `ctrl-k *` bindings while in insert, replace or waiting mode?
- Is there a better way to insert a string at all of the cursors? At the
moment I'm constructing the edits manually.
- The table of default digraphs is a 1.4k line rust expression. Is this
okay as long as it's in its own module?
- I'd like a second opinion on how best to structure the settings.json
entry.
- I have omitted the "meta character" feature as I don't think it makes
sense when editing UTF-8 text.

Release Notes:

- Added support for Vim digraphs.

Resolves #11871
2024-07-28 22:44:32 -06:00
..
2024-06-14 10:16:59 -06:00
2024-05-11 14:04:05 -04:00
2024-05-09 21:18:56 -06:00
2024-05-09 21:18:56 -06:00
2023-09-12 09:56:23 -06:00
2024-01-21 22:00:35 -07:00
2023-09-20 20:44:41 -06:00
2023-09-27 23:09:09 -06:00
2024-05-09 21:18:56 -06:00
2023-09-12 09:56:23 -06:00
2023-04-20 15:25:11 -06:00
2024-05-11 14:04:05 -04:00
2024-05-09 21:18:56 -06:00
2024-06-14 10:16:59 -06:00
2023-09-27 19:49:31 -06:00
2023-10-09 21:48:50 -06:00
2024-01-21 22:00:35 -07:00
2024-06-14 10:16:59 -06:00
2024-05-11 14:04:05 -04:00
2023-08-22 13:27:57 -06:00
2024-05-11 14:04:05 -04:00
2024-06-27 21:54:34 -06:00
2024-05-11 14:04:05 -04:00
2024-03-13 23:12:12 -06:00
2023-08-15 10:00:45 -06:00
2023-08-17 17:13:23 -06:00
2024-05-11 14:04:05 -04:00
2023-09-12 09:56:23 -06:00