add tests for 'diW' motion, and fix a bug in the implementation (contiguous spaces were not deleted properly)

This commit is contained in:
2025-12-12 20:08:53 +00:00
parent bf62b35825
commit 7130fe7dda
3 changed files with 67 additions and 26 deletions

View File

@@ -1,9 +1,8 @@
# To-do list
- Add tests for:
- delete inside WORD
- Implement delete-around-word/WORD and test it
- Reimplement `%` motion and `d%` motion.
- Reimple `%` motion and `d%` motion.
- They should both search for the next character in any pair, the same way in Vim
- Add tests for reimplemented movements and motions
- Reimplement `di<symbol>` and `da<symbol>`