Skip to content

TextObjectify breaks all 2-character mappings for text objects #9

@mascip

Description

@mascip

Hi, I use CamelMotion and html-textobjects. These plugins define mappings with 2 characters for their text objects.

For example CamelMotion provides ,w in addition to w : you can do vi,w to select one camel case word. But when I do vi,w with TextObjectify, it selects the text between the two nearest commas. So I have stopped using TexTObjectify, which is a shame.

As a solution, I think I would like to be able to de-activate TextObjectify for given characters. Maybe by providing an additional optional argument in g:textobjectify, to indicate that the text object is de-activated? Or by providing an additional g:dontobjectify variable.

Did anyone have a similar problem?
What do you think, for solutions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions