From d5296e70c39d1ff5653b1e252742ac47b13ce0ab Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Tue, 3 Aug 2021 09:01:31 -0600 Subject: [PATCH] Remap insert and delete on razer to have ./ --- dotfiles/xkb/keymap/ivanm-dfinity-razer | 2 +- dotfiles/xkb/symbols/imalison | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dotfiles/xkb/keymap/ivanm-dfinity-razer b/dotfiles/xkb/keymap/ivanm-dfinity-razer index e4458964..91531a6a 100644 --- a/dotfiles/xkb/keymap/ivanm-dfinity-razer +++ b/dotfiles/xkb/keymap/ivanm-dfinity-razer @@ -2,6 +2,6 @@ xkb_keymap { xkb_keycodes { include "evdev+aliases(qwerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; - xkb_symbols { include "pc+us+inet(evdev)+altwin(swap_lalt_lwin)+imalison(ralt_as_hyper)+capslock(ctrl_modifier)" }; + xkb_symbols { include "pc+us+inet(evdev)+altwin(swap_lalt_lwin)+imalison(ralt_as_hyper)+imalison(ins_as_dot)+imalison(del_as_slash)+capslock(ctrl_modifier)" }; xkb_geometry { include "pc(pc105)" }; }; diff --git a/dotfiles/xkb/symbols/imalison b/dotfiles/xkb/symbols/imalison index 5fc0099b..e4d82474 100644 --- a/dotfiles/xkb/symbols/imalison +++ b/dotfiles/xkb/symbols/imalison @@ -15,3 +15,13 @@ xkb_symbols "ralt_as_hyper" { replace key { [ Hyper_L, Hyper_L ] }; modifier_map Mod3 { , Hyper_L }; }; + +partial alphanumeric_keys +xkb_symbols "ins_as_dot" { + replace key { [ period, greater ] }; +}; + +partial alphanumeric_keys +xkb_symbols "del_as_slash" { + replace key { [ slash, question ] }; +};