Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word motions regarding Chinese words #8769

Closed
black-pwq opened this issue Dec 7, 2023 · 1 comment
Closed

Word motions regarding Chinese words #8769

black-pwq opened this issue Dec 7, 2023 · 1 comment

Comments

@black-pwq
Copy link

Describe the bug
Word motions do correctly with Ascii words. However, it behaves wrong when I type 'w' or other word motions on Chinese words. The cursor moves to the end of the sentence instead of jumping to the next word.

Well, it was fixed years ago by @ajalab in #3612 though it only shows the Japanese there (yeah, not the Chinese), but I am confused why it don't work now.

To Reproduce
Steps to reproduce the behavior:

  1. Write a long Chinese sentence
  2. Type 'w' at the beginning.
  3. Error: Jump to the end of the sentence (or the first punctuation)

Expected behavior
Do the right word split.

Screenshots
vscodevim_chinese_word_motions

Environment (please complete the following information):

  • Extension (VsCodeVim) version:1.27.1
  • VSCode version: 1.83.0
  • OS: Windows 10

Additional context
settings:

  "vim.easymotion": true,
  "vim.incsearch": true,
  "vim.useSystemClipboard": true,
  "vim.useCtrlKeys": true,
  "vim.hlsearch": true,
  "vim.leader": "<space>",
  "vim.handleKeys": {
    "<C-j>": false
  },
"vim.autoSwitchInputMethod.enable": true,
@black-pwq
Copy link
Author

Well, it is better to be a feature request than a bug report since it is indeed not supported by vim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant