Refactor motions with regard to characterwise/linewise and exclusive/inclusive
Open
@J-Fields is already working on this.
Since Jun 16, 2021.
kind/refactor
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Currently, motions set RecordedState.registerMode to declare themselves to be characterwise/linewise. Exclusive/inclusive is not handled on a system level (and thus is often handled incorrectly).
Each motion should have a linewise property (or similar). Then we can more sensibly handle rules like :help exclusive-linewise and :help forced-motion.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.