treewide: add global flag to disable default keymaps

This commit is contained in:
Ching Pei Yang 2025-07-24 15:41:10 +02:00
commit 9902836a90
No known key found for this signature in database
GPG key ID: B3841364253DC4C8
31 changed files with 170 additions and 165 deletions

View file

@ -6,9 +6,9 @@ in {
enable = mkEnableOption "ccc color picker for neovim";
mappings = {
quit = mkMappingOption "Cancel and close the UI without replace or insert" "<Esc>";
increase10 = mkMappingOption "Increase the value times delta of the slider" "<L>";
decrease10 = mkMappingOption "Decrease the value times delta of the slider" "<H>";
quit = mkMappingOption config.vim.enableNvfKeymaps "Cancel and close the UI without replace or insert" "<Esc>";
increase10 = mkMappingOption config.vim.enableNvfKeymaps "Increase the value times delta of the slider" "<L>";
decrease10 = mkMappingOption config.vim.enableNvfKeymaps "Decrease the value times delta of the slider" "<H>";
};
};
}