Skip to content

Conversation

@axelcool1234
Copy link

@axelcool1234 axelcool1234 commented Nov 12, 2025

This allows surround motions to extend in certain cases. Due to the nature of delimiter matching like ma( or mdm being based on the current range of your selection, this change has no observable effect. However, for semantic based matching like map or maf, this extends your selection rather than replacing it. This resolves #12927.

Also, I apologize for making a duplicate PR (the previous being #14742 ). I accidentally deleted it - it won't happen again. This PR is a lot cleaner (and more focused) anyways.

axelcool1234 added a commit to axelcool1234/helix that referenced this pull request Nov 12, 2025
…d extend variants to `select_textobject_*`)

Based off pull request helix-editor#14774
axelcool1234 added a commit to axelcool1234/helix that referenced this pull request Nov 12, 2025
…d extend variants to `select_textobject_*`)

Based off pull request helix-editor#14774
axelcool1234 added a commit to axelcool1234/helix that referenced this pull request Nov 12, 2025
…d extend variants to `select_textobject_*`)

Based off pull request helix-editor#14774

Add extend variant of match_brackets command.
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.

Surround command replace the selection in selection mode instead of extending it

1 participant