binds/qmk: Rename to vim.utility.qmk

Move the `vim.binds.qmk` module to `vim.utility.qmk`.
This commit is contained in:
Cool-Game-Dev 2025-08-14 08:52:25 -05:00
commit ea55488f04
No known key found for this signature in database
7 changed files with 5 additions and 6 deletions

View file

@ -158,7 +158,6 @@ isMaximal: {
whichKey.enable = true; whichKey.enable = true;
cheatsheet.enable = true; cheatsheet.enable = true;
hardtime-nvim.enable = isMaximal; hardtime-nvim.enable = isMaximal;
qmk.enable = false; # requires hardware specific options
}; };
telescope.enable = true; telescope.enable = true;
@ -193,6 +192,7 @@ isMaximal: {
vim-wakatime.enable = false; vim-wakatime.enable = false;
diffview-nvim.enable = true; diffview-nvim.enable = true;
yanky-nvim.enable = false; yanky-nvim.enable = false;
qmk.enable = false; # requires hardware specific options
icon-picker.enable = isMaximal; icon-picker.enable = isMaximal;
surround.enable = isMaximal; surround.enable = isMaximal;
leetcode-nvim.enable = isMaximal; leetcode-nvim.enable = isMaximal;

View file

@ -485,4 +485,4 @@
- Add just support under `vim.languages.just` using [just-lsp]. - Add just support under `vim.languages.just` using [just-lsp].
- Add [roslyn-ls] to the `vim.languages.csharp` module. - Add [roslyn-ls] to the `vim.languages.csharp` module.
- Add JSON support under `vim.languages.json` using [jsonls] and [jsonfmt]. - Add JSON support under `vim.languages.json` using [jsonls] and [jsonfmt].
- Add QMK support under `vim.binds.qmk` via [qmk.nvim]. - Add QMK support under `vim.utility.qmk` via [qmk.nvim].

View file

@ -3,6 +3,5 @@ _: {
./which-key ./which-key
./cheatsheet ./cheatsheet
./hardtime ./hardtime
./qmk
]; ];
} }

View file

@ -18,6 +18,7 @@
./oil-nvim ./oil-nvim
./outline ./outline
./preview ./preview
./qmk
./sleuth ./sleuth
./smart-splits ./smart-splits
./snacks-nvim ./snacks-nvim

View file

@ -7,7 +7,7 @@
inherit (lib.nvim.lua) toLuaObject; inherit (lib.nvim.lua) toLuaObject;
inherit (lib.nvim.dag) entryAfter; inherit (lib.nvim.dag) entryAfter;
cfg = config.vim.binds.qmk; cfg = config.vim.utility.qmk;
in { in {
config = mkIf cfg.enable { config = mkIf cfg.enable {
vim = { vim = {

View file

@ -1,5 +1,4 @@
{ {
config,
lib, lib,
... ...
}: let }: let
@ -7,7 +6,7 @@
inherit (lib.types) attrsOf enum lines str; inherit (lib.types) attrsOf enum lines str;
inherit (lib.nvim.types) mkPluginSetupOption; inherit (lib.nvim.types) mkPluginSetupOption;
in { in {
options.vim.binds.qmk = { options.vim.utility.qmk = {
enable = mkEnableOption "QMK and ZMK keymaps in nvim"; enable = mkEnableOption "QMK and ZMK keymaps in nvim";
setupOpts = mkPluginSetupOption "qmk.nvim" { setupOpts = mkPluginSetupOption "qmk.nvim" {