Skip to content

Inaccurate behavior escaping input mode #43

Description

@life00

OpenCode version

1.17.7

vimcode version

14.0.0

OS

Fedora Linux 42

Terminal

Alacritty

What happened?

I recently noticed a very slight difference in how vimcode handles a and i keys compared to regular vim or neovim.

In vim, if you press i your cursor inserts on the left side of the character, effectively making it move to the left, while if you press a your cursor inserts on the right side of the character keeping it in place.

The behavior in vimcode is different, pressing i inserts on the left of the character without moving a cursor, while pressing a inserts on the right side of the character and moves the cursor to the right.

I made an asciinema recording here: https://asciinema.org/a/kWBvzZAm4nudyCry

Of course, this is a relatively marginal difference, but I find it noticeable when I try to insert at a specific character place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions