keyd is aweseome, but...
I was able to make a binding for my caps lock key so that pressing it would be an escape key, but holding it was a super modifier. It was days before I realized it was interfering with the T383838disable touchpad while typing thing. I have T383838mouse= in vim so the random mouse activity didn't have much of an effect while using the terminal, but it made it nearly impossible to use any web site where I had to type. So I've had to disable it for now.
This is what I put in my T383838configuration.nix:
T282828
servicesTff7b72.keydTff7b72.Ta5d6ffenable Tff7b72= Tff7b72trueTb4b4b4;
servicesTff7b72.keydTff7b72.Ta5d6ffkeyboards Tff7b72= Tb4b4b4{
Ta5d6ffdefault Tff7b72= Tb4b4b4{
Ta5d6ffids Tff7b72= Tb4b4b4[ Ta5d6ff"Ta5d6ff*Ta5d6ff" Tb4b4b4]Tb4b4b4;
Ta5d6ffsettings Tff7b72= Tb4b4b4{
Ta5d6ffmain Tff7b72= Tb4b4b4{
Ta5d6ffcapslock Tff7b72= Ta5d6ff"Ta5d6ffoverload(meta, esc)Ta5d6ff"Tb4b4b4;
Tb4b4b4}Tb4b4b4;
Tb4b4b4}Tb4b4b4;
Tb4b4b4}Tb4b4b4;
Tb4b4b4}Tb4b4b4;
Tags: index
Tags
Navigation