VSCodeVim / VSCodeVim/Vim

Going past long line with `j`/`k` in VisualBlock mode moves the viewport

Open
#2,417 0 comments 2 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

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug

What happened:
Going past long line in visual select mode will auto-scroll to the end of a long line, moving the viewport, and also not moving it back once you've gone past that line

What did you expect to happen:
For it not to scroll to the end of the line, but keep the viewport where it is

How to reproduce it (as minimally and precisely as possible):
Go into visual-select-mode (C-v)
Go past long line which expands past the screen with j,k. It scrolls to the end of the line automatically.

Environment:

  • Extension (VsCodeVim) version: 0.10.0
  • VSCode version: 1.20.1
  • OS version: OS X 10.13.1

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 the issue in VSCodeVim using VisualBlock mode (C-v) and j/k across a line longer than the viewport. Verify that moving past the long line does not shift the viewport to the line end and that the viewport remains stable afterward.

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.