reimplement d% motion so that it first searches for the next occurrence of a pair-character before trying to match it. (Next: add tests for d% motion.)

This commit is contained in:
2026-01-01 07:05:06 +00:00
parent 44dbe1ffb0
commit 54ef305314
2 changed files with 35 additions and 28 deletions

View File

@@ -1,9 +1,7 @@
# To-do list
- Add tests for:
- Reimplement `d%` motion.
- It should both search for the next character in any pair, the same way in Vim
- Add tests for reimplemented movements and motions
- `d%` motion
- Reimplement `di<symbol>` and `da<symbol>`
- They should search for the next char in the specific pair, the same way in Vim
- Add tests for both