VSCodeVim / VSCodeVim/Vim

Current line is "jumping" when `<Leader>` is pressed

Open
#6,744 0 comments 1 reaction 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

I've assigned my leader key to space. When I'm typing text with spaces current active line is "jumping" down.

To Reproduce

Steps to reproduce the behavior:

  1. Assign <leader> to Space
  2. Start typing some code
  3. When a leader is the active current line "jumps" below

Expected behavior

The line shouldn't jump when I press <leader> key.

Screenshots

I've recorded a gif:

ezgif com-gif-maker

This is what I have in console when I press space (leader):

Screenshot 2021-06-15 at 20 43 52

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.21.2
  • VSCode version: 1.57
  • OS: macOS

Additional context

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 in the report. First reproduce the issue in VSCodeVim v1.21.2 on macOS by assigning to Space and typing code; then trace leader-key handling and current-line rendering. Done means pressing the leader key no longer moves the active 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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.