Created
April 12, 2016 02:09
-
-
Save zxteloiv/3db617fa116d0dab2903ce79c2e00c0f to your computer and use it in GitHub Desktop.
swap caps lock and ctrl
This file contains hidden or 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
keymaps 0-2,4-5,8,12 | |
keycode 58 = Control #This makes Caps act as Ctrl | |
keycode 29 = Caps_Lock #This makes Ctrl act as Caps | |
# alt_is_meta #This fixes the Alt key |
This file contains hidden or 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
! | |
! Swap Caps_Lock and Control_L | |
! | |
remove Lock = Caps_Lock | |
remove Control = Control_L | |
keysym Control_L = Caps_Lock | |
keysym Caps_Lock = Control_L | |
add Lock = Caps_Lock | |
add Control = Control_L |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment