VSCodeVim / VSCodeVim/Vim

Line change operation should set `'[` mark at the start of line.

Open
#6,419 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

If there are some text that is not applicable to the current line operation, the operation will split up and set the '[ mark at the last changed text of the line. But it should set the mark at the start of the line because it is a line operation.
For example, I type g~~ and then type '[:
Peek 2021-04-04 13-15
I type g?? and then type '[:
Peek 2021-04-04 13-16

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

Reproduce the issue in the VSCodeVim extension using the described g~~ and g?? line operations, then inspect the handling of the '[ mark after an operation is split. Done means the mark is placed at the start of the line for these line operations, including when some text is not applicable.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.