Skip to content

Chinese input method causes conflicts with Vim key bindings #21136

@mcpeng

Description

@mcpeng

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

Vim key binding snippet:

  {
    "context": "Editor && vim_mode == insert",
    "bindings": {
      "j j": "vim::NormalBefore"
    }
  }

In insert mode, using the Pinyin input method can not type words that start with j, such as "简单"(pinyin: jiandan)

Environment

  • macOS 14.6.1
  • Zed 0.162.5
  • Input method: Pinyin - Simplified

If applicable, add mockups / screenshots to help explain present your vision of the feature

pinyin.mov

If applicable, attach your Zed.log file to this issue.

Zed.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:controls/keybindsKeyboard shortcuts, mapping, binding, keymaps, etcarea:internationalizationFeedback for human language support, translations, etcbugDEPRECATED label: use issue type 'Bug' insteadstaleLabel used by `stale` action

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions