VSCodeVim / VSCodeVim/Vim

`"/ cc` may should not delete the entire line.

Open
#6,410 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

"/ is last pattern register, containing the most recent search-pattern, which is only writable with :let or search command. You cannot yank or delete into this register. Therefore, when you type "/ cc, it should not delete the entire line (which may mean you put the line in this register). In Vim, it does not delete the entire line. Vim wiil put the cursor to the first column and go into insert mode.
I am not sure if this is a bug. Hope your opinion.

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

Start by reproducing "/ cc in VSCodeVim and compare its behavior with Vim, since the issue provides no file or test entry point. The change is done when the command moves the cursor to the first column and enters insert mode without deleting the entire line.

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.