Files
zed/crates/vim/test_data
Conrad Irwin 331b6e7e6e Support "dtx" vim key combination when "x" is immediately to the right of the cursor (#6830)
Closes #4358

The bug originates on this line:
5db7e8f89e/crates/vim/src/motion.rs (L451)

- When running "dtx" on "ˇabcx", the range to delete is 0 -> 2 ("abc")
- When running "dtx" on "abˇcx", the range to delete is 2 -> 2 ("c"), so
`new_point == point` and the function incorrectly returns `None` and "c"
is not deleted
- We need to disambiguate between the "not found" case and the "found
immediately to the right" case
- This bug does not apply to the backwards case ("dTx")

Release Notes:
- Fixed "dtx" vim key combination when "x" is immediately to the right
of the cursor (#4358)
2024-01-28 19:46:14 -07:00
..
2023-09-12 09:56:23 -06:00
2023-07-21 09:50:22 -06:00
2024-01-21 22:00:35 -07:00
2023-09-20 20:44:41 -06:00
2023-09-26 22:28:04 -06:00
2023-09-27 23:09:09 -06:00
2023-09-12 09:56:23 -06:00
2023-04-20 15:25:11 -06:00
2023-09-20 12:01:04 -06:00
2023-08-25 14:40:04 -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
2023-08-22 13:27:57 -06:00
2023-08-22 13:27:57 -06:00
2023-08-22 13:27:57 -06:00
2023-08-15 10:00:45 -06:00
2023-08-17 17:13:23 -06:00
2023-09-12 09:56:23 -06:00