VSCodeVim / VSCodeVim/Vim

Yank dose not set mark

Open
#8,161 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
Yank dose not set mark when modifing buffer

To Reproduce
Steps to reproduce the behavior:

  1. Go to some line for example to line nr. 12
  2. y5k or 5yk
  3. ']

Expected behavior
Should create mark on line 12 then before moving 5 lines up after yank should create mark on line 12 and with '] it should go back to previously created mark at line nr. 12.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named. First reproduce the behavior in VS CodeVim using y5k or 5yk, then inspect the yank and mark-handling entry points. Done means yanking sets the mark on the original line and '] returns to that line.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
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.