Bring back keyd and remove evil-collection hacks

This commit is contained in:
Konstantin Nazarov 2024-06-27 21:46:31 +01:00
parent c6ef109360
commit 3d95472103
Signed by: knazarov
GPG key ID: 4CFE0A42FA409C22
3 changed files with 18 additions and 21 deletions

View file

@ -18,10 +18,6 @@ let
epkgs.treesit-grammars.with-all-grammars
epkgs.evil-collection
];
override = final: prev: {
evil-collection = prev.melpaPackages.evil-collection.overrideAttrs
(old: { patches = [ ./evil-collection.patch ]; });
};
});
in {
@ -323,20 +319,20 @@ in {
enable = true;
keyboards = {
#default = {
#ids = [ "*" ];
#settings = {
#main = {
#capslock = "overload(control, esc)";
#leftalt = "layer(meta_mac)";
#leftmeta = "layer(alt)";
#};
#"meta_mac:M" = {
#c = "C-insert";
#v = "S-insert";
#};
#};
#};
default = {
ids = [ "*" ];
settings = {
main = {
capslock = "overload(control, esc)";
leftalt = "layer(meta_mac)";
leftmeta = "layer(alt)";
};
"meta_mac:M" = {
c = "C-insert";
v = "S-insert";
};
};
};
};
};

View file

@ -1207,6 +1207,7 @@ Intended for `after-make-frame-functions'."
:ensure t
:mode "\\.go$"
:config
(setq gofmt-show-errors 'echo)
(add-hook 'before-save-hook #'gofmt-before-save)
)

View file

@ -90,11 +90,11 @@
]
},
"locked": {
"lastModified": 1718058306,
"narHash": "sha256-xEcT7D3brIiWCYlsN6CT093i0bZ6e0mhmvhzTFaYiDA=",
"lastModified": 1719265590,
"narHash": "sha256-SScslqk325Ld6+9QMq+it1Wlisq8osZ2BQDrWBE4Cp8=",
"owner": "~knazarov",
"repo": "knazarov.com",
"rev": "fa1d523bd1e0b65369ee9c6a0af28a162cdfbb16",
"rev": "9e2f8c466d5559eaf19ce8af7ae8c8d4674d4dcf",
"type": "sourcehut"
},
"original": {