问题
在京造k6 68键位键盘上,想要打出
~
需要使用组合键 fn2和esc
但这样触发了搜狗输入法的中英文切换,因为底层上还是使用了shift按键。
解决
搜狗输入法 : 设置 禁用切换中英文的按键
下载最新的 Karabiner-Elements
然后到第三栏 Complex Modifications,选择 Add rule -> Import more rules from the Internet(open a web browser), 在网站上找到我们需要的 rules: Tapping modifier-keys produces a f-key,最后将 Press left_shift alone produces F12 Enable。
这样设置完之后,f12就不能用了。
cd到~/.config/karabiner/assets/complex_modifications/
文件夹,vim修改f12成f13。
同时将系统默认切换输入法的control+spance换成f13(按一下shift就行了)
感谢:
https://sspai.com/post/43324
https://zhuanlan.zhihu.com/p/337488006