Created
March 22, 2018 14:51
-
-
Save richbs/fec99cec3b90ae54c96225d89ca65dac to your computer and use it in GitHub Desktop.
vim /usr/share/X11/xkb/symbols/command_ctrl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ctrl is mapped to the Command keys (and the usual Ctrl keys). | |
partial modifier_keys | |
xkb_symbols "command_ctrl_mac" { | |
key <LWIN> { [ Control_L ] }; | |
key <RWIN> { [ Control_R ] }; | |
key <LALT> { [ Super_L ] }; | |
modifier_map Control { <LWIN>, <RWIN> }; | |
// modifier_map Mod1 { Alt_L, Alt_R }; | |
modifier_map Mod4 { <LALT> }; | |
}; | |
// Ctrl is mapped to the Alt and Alt mapped to win | |
partial modifier_keys | |
xkb_symbols "command_ctrl_pc" { | |
//key <LWIN> { [ Alt_L ] }; | |
key <LALT> { [ Control_L, Control_L ] }; | |
modifier_map Control { <LALT> }; | |
//modifier_map Mod1 { <LWIN> }; | |
}; | |
~ | |
~ | |
~ | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment