When using a CJK input method in NormalMode, an issue occurs where CJK characters are being input.
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
When using a CJK input method in NormalMode, an issue occurs where CJK characters are being input.
- MacOS Korean Dubeolsik (two-set) Keyboard Layout
h->ㅗj->ㅓk->ㅏl->ㅣ
Current Problem:
When set to Korean input method, entering h, j, k, l in normal mode writes the characters ㅗ, ㅓ, ㅏ, ㅣ to the file.
Expected:
Expected:
When set to Korean input method, entering h, j, k, l in normal mode should not write the characters ㅗ, ㅓ, ㅏ, ㅣ to the file.
- Method 1: Since these are not h, j, k, l character inputs, the cursor should not move.
- Method 2: Since these are Korean characters corresponding to h, j, k, l, the cursor should move.
In any case, characters should not be entered in normal mode, but currently Korean characters are being written to the file.
To Reproduce
- Install Korean IME. (Korean Dubeolsik (two-set) Keyboard Layout)
- (On MacOS, use Keyboard Shortcuts > Input Sources shortcut.)
- Enter normal mode in VSCode Vim.
- Set up Korean input method. (On MacOS, use Keyboard Shortcuts > Input Sources shortcut.)
- Open file, and input h, j, k, l key.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots / Video
https://github.com/user-attachments/assets/94915325-3ae8-4ec8-bdf5-5589d9f461b5
Environment (please complete the following information)
- Extension (VsCodeVim) version: (1.32.2) last version, (The issue is also occurring in the previous version.)
- VSCode version: (1.107.0) last version, (The issue is also occurring in the previous version.)
- OS: MacOS 15.6.1
The issue has been continuously occurring since upgrading VSCode to a certain version or above.
Additional context
This appears to be similar to the issue at https://github.com/VSCodeVim/Vim/issues/9858.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue in VSCode with the macOS Korean Dubeolsik input method, using the h, j, k, and l keys in NormalMode. Compare the behavior with issue 9858 and verify that Korean characters are not written to the file in NormalMode; the issue does not name a file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100