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