VSCode + Neo Vim Win10 普通模式下自动切换英文输入法
如何解决VSCode Vim中文输入法切换问题? - jackiexiao的回答 - 知乎
https://www.zhihu.com/question/303850876/answer/1421313587
方案1
#SingleInstance, force
Ctrl & [::
; Send, {LAlt Down}{Shift}
; Send, {LAlt Up}
Send, {LAlt Down}
Sleep, 100
Send, {Shift}
Sleep, 100
Send, {LAlt Up}
Send, {Ctrl Down}[{Ctrl Up}
; Send, {BackSpace}
; Send, {Ctrl Down}[{Ctrl Up}
Return
方案2
#SingleInstance, force
Ctrl & [::
; Send, {LAlt Down}{Shift}
; Send, {LAlt Up}
PostMessage, 0x50, 0, 0x4090409, , A ;切换为英文0x4090409=67699721
Send, {Ctrl Down}[{Ctrl Up}
; Send, {BackSpace}
; Send, {Ctrl Down}[{Ctrl Up}
Return
本博文本意在于记录个人的思考与经验,部分博文采用英语写作,可能影响可读性,请见谅
本文来自博客园,作者:ZXYFrank,转载请注明原文链接:https://www.cnblogs.com/zxyfrank/p/16483686.html