diff --git a/.xkb/symbols/mac_gui b/.xkb/symbols/mac_gui index a013176..2996749 100644 --- a/.xkb/symbols/mac_gui +++ b/.xkb/symbols/mac_gui @@ -54,29 +54,20 @@ default partial xkb_symbols "mac_levelssym" { // Also maps Option + Cmd + F to Control+H for Replace - Sublime // AD03=e,E // AC01=a,A - // Ctrl + E - End of Line + // Ctrl + A - Beginning of Line replace key { - type[Group1]= "ONE_LEVEL_CTRL", + type[Group1]= "ONE_LEVEL_SUPER", symbols[Group1]= [ // Base a, // Shift A, - // Alt - a, - // Shift Alt - A, // Super NoSymbol, // Shift Super NoSymbol - ], actions[Group1]= [ - NoAction(), - NoAction(), - NoAction(), - NoAction(), NoAction(), NoAction(), RedirectKey(key=,clearmods=Super), @@ -85,27 +76,18 @@ default partial xkb_symbols "mac_levelssym" { }; // Ctrl + E - End of Line replace key { - type[Group1]= "ONE_LEVEL_CTRL", + type[Group1]= "ONE_LEVEL_SUPER", symbols[Group1]= [ // Base e, // Shift E, - // Alt - e, - // Shift Alt - E, // Super NoSymbol, // Shift Super NoSymbol - ], actions[Group1]= [ - NoAction(), - NoAction(), - NoAction(), - NoAction(), NoAction(), NoAction(), RedirectKey(key=,clearmods=Super), diff --git a/.xkb/types/mac_gui b/.xkb/types/mac_gui index edad36c..9c747d0 100644 --- a/.xkb/types/mac_gui +++ b/.xkb/types/mac_gui @@ -40,4 +40,14 @@ default partial xkb_types "addmac_levels" { level_name[Level5] = "Super"; level_name[Level6] = "Super Shift"; }; + type "ONE_LEVEL_SUPER" { + modifiers = Shift+Super; + map[Shift] = Level2; + map[Super] = Level3; + map[Shift+Super] = Level4; + level_name[Level1] = "Base"; + level_name[Level2] = "Shift"; + level_name[Level3] = "Super"; + level_name[Level4] = "Super Shift"; + }; };