mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
binds/qmk: Rename to vim.utility.qmk
Move the `vim.binds.qmk` module to `vim.utility.qmk`.
This commit is contained in:
parent
ff81c41d61
commit
ea55488f04
7 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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].
|
||||
|
|
|
@ -3,6 +3,5 @@ _: {
|
|||
./which-key
|
||||
./cheatsheet
|
||||
./hardtime
|
||||
./qmk
|
||||
];
|
||||
}
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
./oil-nvim
|
||||
./outline
|
||||
./preview
|
||||
./qmk
|
||||
./sleuth
|
||||
./smart-splits
|
||||
./snacks-nvim
|
||||
|
|
|
@ -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 = {
|
|
@ -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" {
|
Loading…
Add table
Add a link
Reference in a new issue