VSCodeVim / VSCodeVim/Vim

Vertical cursor moving for CJK lines

Open
#4,096 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/non-latin-characters help wanted kind/bug
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
Vertical cursor moving is incorrect when lines contain CJK characters even using monospace CJK fonts.

02
03

To Reproduce

  1. Type CJK characters.
  2. Move cursor with 'j' 'k' or arrow keys in NORMAL, INSERT, VISUAL modes.

Expected behavior
VSCODE fixed this issue, but VSCodeVim still have one.
https://github.com/microsoft/vscode/pull/44259

Behave same as default VSCODE expected.

00
01

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 vertical cursor movement with CJK lines in NORMAL, INSERT, and VISUAL modes using j, k, and the arrow keys. Read the linked VS Code pull request and compare its behavior with VSCodeVim; done means cursor movement matches the expected VS Code behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.