hluk / hluk/FakeVim

Marks are not moved when new lines are inserted

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
183
Forks
31
Avg merge
3d 11h
Merged PRs (30d)
2

Description

I have this behaviour in the plugin for Qt creator.
When I place a mark using the m mapping, and then add lines of text above the mark, moving back to the mark using ' brings the cursor that many lines above the spot where the mark was placed.
Although not a major issue, this is not the behavior of the vim editor.

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by locating the FakeVim mark implementation and the handling of inserted lines, then reproduce the issue by placing a mark, inserting lines above it, and jumping back with '. Done means the mark follows its original text position, matching Vim behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.