1
letaotor 2013-10-05 22:05:24 +08:00 via Android
我一般都是改keycode
|
2
zenozeng 2013-10-06 17:24:08 +08:00 1
xmodmap -e "remove Lock = Caps_Lock"
这行写了嘛? |
3
vicence OP @zenozeng
我是创建.xmodmaprc $ vim .xmodmaprc keycode 9 = Caps_Lock NoSymbol Caps_Lock keycode 66 = Escape NoSymbol Escape 然后xmodmap .xmodmaprc 这样执行的 |
4
zenozeng 2013-10-06 23:56:58 +08:00
.zshrc
# remap the Caps_Lock remap() { xmodmap -e "remove Lock = Caps_Lock" xmodmap -e "keysym Caps_Lock = Control_L" xmodmap -e "add Control = Control_L" } |