Skip to content

IME input causes significant delay or inconsistent behavior in insert mode #9712

@s-kai273

Description

@s-kai273

Describe the bug
When using an IME (e.g. for Japanese input) in insert mode, there is a noticeable delay between confirming a composition (e.g. pressing Enter to finalize a phrase) and the text actually appearing in the editor.
The confirmed input does appear correctly, but there is a perceptible lag that makes the experience feel slow and unnatural.

To Reproduce
Steps to reproduce the behavior:

  1. Open a file in VS Code with the VSCodeVim extension enabled
  2. Switch to insert mode (i)
  3. Use a Japanese IME (e.g. Google Japanese Input, Mozc, Microsoft IME)
  4. Type a word like konnichiwa to start composition (こんにちは appears as candidate)
  5. Press Enter to confirm the composition
  6. Observe that the confirmed text appears with a noticeable delay, rather than instantly

Expected behavior
The confirmed text (e.g. こんにちは) should appear in the editor immediately after pressing Enter to finalize the IME composition, without any perceptible delay.
Input via IME should feel as responsive as in the default VS Code editor.

Screenshots

Image

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.30.1
  • VSCode version: 1.102.1
  • OS: Linux Mint
  • IME: Mozc (Japanese)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions