mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-09 06:55:30 +00:00
treewide: add global flag to disable default keymaps
This commit is contained in:
parent
8fbecab446
commit
9902836a90
31 changed files with 170 additions and 165 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib.options) mkOption literalMD;
|
||||
inherit (lib.options) mkOption literalMD mkEnableOption;
|
||||
inherit (lib.types) either str listOf attrsOf nullOr submodule;
|
||||
inherit (lib.nvim.config) mkBool;
|
||||
|
||||
|
|
@ -57,6 +57,7 @@
|
|||
};
|
||||
in {
|
||||
options.vim = {
|
||||
enableNvfKeymaps = mkEnableOption "default NVF keymaps for plugins" // {default = true;};
|
||||
keymaps = mkOption {
|
||||
type = listOf mapType;
|
||||
description = "Custom keybindings.";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue