Skip to content

vi{ will includes { if the cursor is on { #1297

@CuterThanYou

Description

@CuterThanYou

Problem

If your cursor is on { or } instead of being inside it, and you do vi{, selection will includes what's on your cursor ({ or } or anything that can be combined with vi)
It doesn't happen with di and ci tho.

Don't know how to phrase it since idk the vim terminologys.

Steps to reproduce

{some text}
vi{ while the cursor is on {
and the selection will be {some text

vis version (vis -v)

vis 0.9 +lua

Terminal name/version

No response

TERM environment variable

No response

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