macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.47k stars 680 forks source link

Cursor position on insert #1241

Open redmeades opened 2 years ago

redmeades commented 2 years ago

Steps to reproduce

  1. pull and build latest MacVim
  2. load a file in MacVim (with or without plugins has same effect): mvim -u NONE file
  3. move to the middle of a word, press i to insert text, start typing

Expected behaviour

https://user-images.githubusercontent.com/4978837/165880253-67a8bd3d-6737-4d78-b6e7-99fc22e5f5c1.mp4

Version of Vim and architecture

VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Apr 29 2022 12:54:26) macOS version - arm64 Included patches: 1-4822

Environment

OS Big Sur 11.6.5, arm64

How MacVim was installed

built from git

Logs and stack traces

No response

Vim configuration where issue is reproducable

No response

Issue has been tested with given configuration

Issue has been tested with no configuration

Other conditions

redmeades commented 2 years ago

Note: last task is not applicable (both HB packages), but ticking in order to have progress on this

ychin commented 1 year ago

Sorry for the slow response, but I tested this on the most recent build and cannot reproduce. @redmeades can you try again? I wonder if it was a temporary bug fixed upstream in Vim.