Skip to content

Refactor text-object behavior and add count support for vil#48

Merged
kibi2 merged 4 commits intomainfrom
refactor/text-object-tuning
Apr 3, 2026
Merged

Refactor text-object behavior and add count support for vil#48
kibi2 merged 4 commits intomainfrom
refactor/text-object-tuning

Conversation

@kibi2
Copy link
Copy Markdown
Owner

@kibi2 kibi2 commented Apr 3, 2026

This PR includes several small improvements and refactoring around text-objects and block handling.

Changes

  • Add count support to "vil" (e.g. v3il)
  • Rename motions:
    • motion.g / motion.G
    • motion.block_top / motion.block_bottom
  • Treat the entire file as a block when no plain block exists

Notes

  • This makes text-object behavior more consistent and predictable
  • Improves internal naming clarity for future extensions
  • Prepares for further structural improvements (e.g. upcoming parser / GFM work)

No breaking changes intended, but internal behavior around block detection has been slightly adjusted.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@kibi2 kibi2 force-pushed the refactor/text-object-tuning branch from 48d7ad3 to c6b4ffa Compare April 3, 2026 01:44
@kibi2 kibi2 merged commit 5408340 into main Apr 3, 2026
3 checks passed
@kibi2 kibi2 deleted the refactor/text-object-tuning branch April 3, 2026 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant