mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-12-02 18:53:59 +01:00
feat(vinput): open the command palette with right Ctrl
Pin keyd's right-hand modifiers (rightcontrol/rightshift/rightmeta) to their own keycodes; keyd otherwise folds them into the left keys. Set Vinput's MenuKey to right Ctrl and clear CommandKeys, which would shadow it.
This commit is contained in:
1 parent
5e5707dd13
commit
8e3f12aa19
4 files changed
+33
-5
No files matched your search
@@ -64,6 +64,17 @@
|
||||
# overloads the capslock key to function as both escape (when tapped) and control (when held)
|
||||
capslock = "overload(control, esc)";
|
||||
esc = "capslock";
|
||||
|
||||
# keyd rewrites right-hand modifiers as their left counterparts, so
|
||||
# pin them to their own keycodes. Vinput's MenuKey is right Ctrl and
|
||||
# Rime's right Shift switches CN/EN.
|
||||
rightcontrol = "rightcontrol";
|
||||
rightshift = "rightshift";
|
||||
rightmeta = "rightmeta";
|
||||
|
||||
# Right Alt is AltGr, the third-level shift on many European layouts
|
||||
# (e.g. `AltGr+2` is `@` in Spanish); keyd forwards it as-is.
|
||||
rightalt = "layer(altgr)";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user