weixin

windows Ctrl+空格切换输入法与其他软件冲突

日期: March 10, 2019 作者:网站维护

ctrl+space.PNG

jetbrains的phpstorm里,Ctrl+space是补全html的命令,可以用来补全图片路径之类。但是中文windows操作系统的ctrl+space是切换输入法的命令,替换不掉。可以通过修改注册表来避免冲突。

到HKEY_CURRENT_USER/Control Panel/Input Method/Hot Keys里将 00000070 和 00000010 里的 Key Modifiers 第一个byte为00,Virtual Key的第一个byte为ff。修改之后然后注销重新登录,ctrl+space切换中英文输入法的快捷键就去掉了。

改keyModifiers就是改修改键,修改键就是指的ctrl shift alt 这类按键,virtual key应该就是space键的类别。具体改成什么了也不知。

参考:superuser.com

I've been aware of this Windows bug for years. After tons of
unsatisfying workarounds and fruitless searching the one or two times
a year I attempt to find a solution, I finally have it! Procedure

Go to Start > Type in regedit and start it
Navigate to HKEY_CURRENT_USER/Control Panel/Input Method/Hot Keys
Select the key named:
    00000070 for the Chinese (Traditional) IME - Ime/NonIme Toggle hotkey
    00000010 for the Chinese (Simplified) IME - Ime/NonIme Toggle hotkey
In the right sub-window, there are three subkeys.
    Key Modifiers designate Alt/Ctrl/Shift/etc and is set to Ctrl (02c00000).
    Virtual Key designates the finishing key and is set to Space (20000000).
Change the first byte in Key Modifiers from 02 to 00
Change the first byte in Virtual Key from 20 to FF
Log off and log back on. I don't think it's necessary to restart.
Do not change the Hot keys for input languages in Control Panel, unless you want to do this all over again.

Notes: Symptoms

Each registry key (thing that looks like a folder) is for each
specific hotkey setting that you would normally find in Control Panel

Region and Language > Keyboards and Languages > Change keyboards... > Advanced Key Settings > Hot keys for input languages. The recurring bug is the hotkey being automatically reset to Ctrl+space even if

changed via the GUI.

I can personally confirm this for Windows 7 64-bit and Windows 8.1,
though from my research, it looks like it may work for XP and Vista as
well.

Sources:

Traditional Chinese Pocket IME Hot Key Registry Settings

Simplified Chinese MSPY 3.0 IME Hot Key Registry Settings

广告内容为平台自动生成