Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
xkb_keymap {
xkb_keycodes { include "xfree86+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat { include "complete" };
xkb_symbols {
include "pc+pl+ctrl(swap_lwin_lctl)+ctrl(swap_rwin_rctl)"
replace key <UP> {
type[Group1]= "THREE_LEVEL",
symbols[Group1]= [ Up, Up, NoSymbol ],
actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<PGUP>, clearMods=Mod5) ]
};
replace key <DOWN> {
type[Group1]= "THREE_LEVEL",
symbols[Group1]= [ Down, Down, NoSymbol ],
actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<PGDN>, clearMods=Mod5) ]
};
replace key <LEFT> {
type[Group1]= "THREE_LEVEL",
symbols[Group1]= [ Left, Left, NoSymbol ],
actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<HOME>, clearMods=Mod5) ]
};
replace key <RGHT> {
type[Group1]= "THREE_LEVEL",
symbols[Group1]= [ Right, Right, NoSymbol ],
actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<END>, clearMods=Mod5) ]
};
replace key <RTRN> {
type[Group1]= "THREE_LEVEL",
symbols[Group1]= [ Return, Return, NoSymbol ],
actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<INS>, clearMods=Mod5) ]
};
replace key <BKSP> {
type[Group1]= "THREE_LEVEL",
symbols[Group1]= [ BackSpace, BackSpace, NoSymbol ],
actions[Group1]= [ NoAction(), NoAction(), RedirectKey(key=<DELE>, clearMods=Mod5) ]
};
};
xkb_geometry { include "pc(pc105)" };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.