Skip to content

"vir" makes terminal ding and selects only the line after block #13

@nybblr

Description

@nybblr

I've been enjoying text objects, but for some reason the vir combo doesn't work; for example, in this code:

    def method_name
        return
    end

Placing my cursor on the "d" in "def" and running "var" properly selects all three lines. However, "vir" causes the terminal to emit it's ding (usually indicating something didn't work) and instead selects just the line after this code (e.g. often a blank line). All my other text objects seem to work fine with the "inner" variant; any thoughts? I've added nocompat and I have the filetype plugin line. Also, matchit is loaded at the beginning of vimrc.

My dots are at https://github.com/nybblr/dotfiles if they can help. I use vundle for all my plugins and made sure text obj plugins are loaded first.

I'd appreciate any help! I'd love to use ruby blocks with inner.
~ Jonathan

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