rime / rime/squirrel

如何让 Vim 进入插入模式后,自动恢复输入法状态

Open
#586 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
6.4k
Forks
554
PR merge metrics
No merged PRs in 30d

Description

我知道 vim_mode: true 配置可以在退出插入模式时自动切换输入法状态。

那么请问,如何设置可以在重新进入插入模式时,恢复之前的输入法状态呢?

我看 macOS 内置的中文输入法是默认支持的。

Contributor guide

No contributing guide indexed for this repository

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

Review the documented vim_mode configuration and the macOS input-method handling described in the issue. Determine whether a setting exists to restore the previous input method when re-entering insert mode; document the supported configuration or clarify that the behavior is not available.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, vim
Domain
desktop, localization
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.