V1.0.1 Vim gj and gk still offsets after clicking with mouse

Steps to reproduce

In v1.0.1 some offset behaviour was fixed for Vim bindings gj and gk. However, there is still an issue.

  1. With the cursor in a certain position, use the mouse to click somewhere else.
  2. Use gj and gk.
  3. The cursor jumps back to where it was before you made the mouse move.

Expected result

Expect that gj and gk operate from where the cursor is, regardless of how it go

Actual result

A gif of the behaviour in the Sandbox Vault. Version 1.0.1 (Installer 1.0.0).

(I show two different locations to illustrate it is not related to lines with blank lines between them.)

Vim_gj_gk_bug

Environment

  • Operating system:
  • Debug info:

Additional information

Related bug, where I first mentioned this behaviour:

2 Likes

is this fixed in 1.0.3?

I was unable to repro in 1.0.3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.