VSCodeVim / VSCodeVim/Vim

`g$` couldn't jump to the end of screen line but to the next screen line

Open
#5,618 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 want use g$ to jump to the end of screen line, but it got to the beginning of the next screen line? How can I solve it?

I try g$ in terminal vim, and it works. But in VScode vim, not work.

By the way, g^ works fine and can jump to the beginning of the next screen line.


The position I am at now.

图片

What I use g$

Expected Position
图片

Actual
图片

Environment (please complete the following information):

Version: 1.49.3
Commit: 2af051012b66169dde0c4dfae3f5ef48f787ff69
Date: 2020-10-02T17:56:11.027Z
Electron: 9.2.1
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.4.0-52-generic

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 source file, test, or entry point is named. Reproduce g$ in VSCodeVim using the reported environment and compare its cursor position with terminal Vim; done means g$ places the cursor at the end of the current screen line rather than at the beginning of the next one.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
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.