Skip to content

Conversation

@jeremiahkellick
Copy link

When using ir I noticed it selects all the way from below if to above end even if there's an else in between. I prefer to only select from below if to above else if my cursor is above else and from below else to above end if my cursor is below else.

This patch preserves the old behavior by default but if g:textobj_rubyblock_mids is set to 1, it acknowledges middle keywords when selecting inside.

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