Add the qmk.nvim plugin to automatically format and update ZMK and QMK keyboard layouts in their configuration files. GitHub repo: https://github.com/codethread/qmk.nvim YouTube video by linkarzu: https://www.youtube.com/watch?v=menWdCt3Go0 Commit after formatting: https://code.oliverdavies.uk/opdavies/glove80-zmk-config/commit/fb674 Signed-off-by: Oliver Davies <oliver@oliverdavies.uk>
This commit is contained in:
parent
d28cc18342
commit
9afe0e9271
2 changed files with 19 additions and 0 deletions
18
modules/nixvim/qmk.nix
Normal file
18
modules/nixvim/qmk.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
flake.modules.nixvim.custom.plugins.qmk = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
layout = [
|
||||
"x x x x x _ _ _ _ _ _ _ _ _ x x x x x"
|
||||
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
|
||||
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
|
||||
"x x x x x x _ _ _ _ _ _ _ x x x x x x"
|
||||
"x x x x x x x x x _ x x x x x x x x x"
|
||||
"x x x x x _ x x x _ x x x _ x x x x x"
|
||||
];
|
||||
name = "LAYOUT_glove80";
|
||||
variant = "zmk";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -11,6 +11,7 @@
|
|||
comment
|
||||
css
|
||||
csv
|
||||
devicetree
|
||||
dockerfile
|
||||
gitattributes
|
||||
gitignore
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue