VSCodeVim / VSCodeVim/Vim

INSERT mode and NORMAL mode are active at the same time.

Open
#7,118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
A clear and concise description of what the bug is.

To Reproduce

  1. open a text file
  2. text anything
  3. switch input method to Chinese
  4. hit ESC

Expected behavior
NORMOL mode and INSERT mode shouldn't active at the same time
Screenshots

image

Environment (please complete the following information):

my config

{
    "editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-",
    "rust-client.engine": "rust-analyzer",
    "rust-client.rustupPath": "~/.cargo/bin/rustup",
    "rust.all_features": true,
    "rust.rust-analyzer.path": "",
    "vim.neovimPath": "",
    "vim.showMarksInGutter": true,
    "workbench.editor.restoreViewState": false,
    "window.restoreWindows": "none",
    "vim.autoSwitchInputMethod.enable": true,
    "vim.autoSwitchInputMethod.obtainIMCmd": "/usr/bin/fcitx5-remote",
    "vim.autoSwitchInputMethod.switchIMCmd": "/usr/bin/fcitx5-remote {im}",
    "files.autoSave": "afterDelay",
    "editor.cursorSmoothCaretAnimation": true,
    "go.toolsManagement.autoUpdate": true,
    "vim.autoSwitchInputMethod.defaultIM": "1",
    "http.proxy": "http://127.0.0.1:1081",
    "vim.smartRelativeLine": true,
    "vim.easymotion": true,
    "vim.sneak": true,
    "vim.sneakUseIgnorecaseAndSmartcase": true,
    "vim.statusBarColorControl": true,
    "vim.visualstar": true,
    "workbench.colorCustomizations": {
        "statusBar.background": "#5f0000",
        "statusBar.noFolderBackground": "#5f0000",
        "statusBar.debuggingBackground": "#5f0000"
    },
    "vim.commandLineModeKeyBindingsNonRecursive": [
    
    ]
}
  • Extension (VsCodeVim) version:v1.21.8
  • VSCode version:1.60.2
    7f6ab5485bbc008386c4386d08766667e155244e
    x64
  • OS: Archlinux 5.10.69-1-lts

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

Reproduce the issue in VSCodeVim 1.21.8 using the listed steps, especially with vim.autoSwitchInputMethod enabled and the fcitx5 commands configured. Trace the input-method switching behavior after pressing ESC; done means NORMAL and INSERT modes are not shown as active at the same time.

Written by the indexing model from the issue text.

Assessment

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