{lib, ...}: let inherit (lib) mkOption types; inherit (lib) nvim; inherit (nvim.modules) mkBoolOption; # Most of the keybindings code is highly inspired by pta2002/nixvim. Thank you! mapConfigOptions = { silent = mkBoolOption false "Whether this mapping should be silent. Equivalent to adding to a map."; nowait = mkBoolOption false "Whether to wait for extra input on ambiguous mappings. Equivalent to adding to a map."; script = mkBoolOption false "Equivalent to adding