{ config, lib, ... }: let inherit (lib.modules) mkIf; cfg = config.vim; in { vim.maps = { normal = mkIf cfg.disableArrows { "" = { action = ""; noremap = false; }; "" = { action = ""; noremap = false; }; "" = { action = ""; noremap = false; }; "" = { action = ""; noremap = false; }; } // mkIf cfg.mapLeaderSpace { "" = { action = ""; }; }; insert = mkIf cfg.disableArrows { "" = { action = ""; noremap = false; }; "" = { action = ""; noremap = false; }; "" = { action = ""; noremap = false; }; "" = { action = ""; noremap = false; }; }; }; }