Keyboard layout for code, English, and French.
- Bépo layout, slightly modified.
- Qwerty shortcuts,
Ctrl+X/C/Vare still together under the left hand. - Arrow keys under the right hand, accessible with
AltGr. - Number pad under the right hand, accessible with
Meta(Alt). - Code symbols under the left hand, accessible with
Meta(Alt). - Modifier keys, as well as
Escape,Delete,Backspace, andEnterbrought closer to where the fingers rest.
Used everyday since 2019, this layout allows me to barely move my hands while touch-typing code, English, or French, and navigating and selecting text by characters, words, line, etc.
Set up keyd, place the file default.conf in /etc/keyd/default.conf, and run sudo keyd reload. Then add the content of the xkb-* files in their corresponding locations, and run setxkbmap us bepo-code-keyd (or select the layout in your system settings; note that a reboot might be necessary).
Note
Before using keyd, Bépo-Code was made with an XKB configuration which you can find here. Note that it is no longer maintained.
Key prefixes:
S=Shift, example:Stab=Shift+tabC=ControlA=AltG=AltGrK=Control+k, example:KCSup=Control+K, Control+Shift+up
Key functions:
[layer] key: activateslayerif hold; doeskeyif tapped (pressed and released){layer}: toggleslayer(layerstays active until toggled back, orclearis called)layer+: activateslayerif hold, and also for the next key press if tapped(function): runsfunction, example:(clear)restores themainlayerkey1·key2: enterskey1,key2, andleft, to place the cursor betweenkey1andkey2
Image created using jaroslaw-weber.github.io/keyfab.
