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

View file

@ -485,4 +485,4 @@
- Add just support under `vim.languages.just` using [just-lsp].
- Add [roslyn-ls] to the `vim.languages.csharp` module.
- 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
./cheatsheet
./hardtime
./qmk
];
}

View file

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

View file

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

View file

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