{ empty = { plugins.which-key.enable = true; }; defaults = { plugins.which-key = { enable = true; # Testing for registrations settings.spec = let mode = [ "n" "v" "i" "t" "c" "x" "s" "o" ]; in [ { __unkeyed-1 = "f"; group = "Group Test"; inherit mode; } { __unkeyed-1 = "ff"; desc = "Label Test"; inherit mode; } { __unkeyed-1 = "f1"; __unkeyed-2.__raw = '' function() print("Raw Lua KeyMapping Test") end ''; desc = "Raw Lua KeyMapping Test"; inherit mode; } { __unkeyed-1 = "foo"; desc = "Label Test 2"; inherit mode; } { __unkeyed-1 = "f"; group = "Group in Group Test"; inherit mode; } { __unkeyed-1 = "ff"; __unkeyed-2 = "echo 'Vim cmd KeyMapping Test'"; desc = "Vim cmd KeyMapping Test"; inherit mode; } ]; plugins = { marks = true; registers = true; spelling = { enabled = true; suggestions = 20; }; presets = { operators = true; motions = true; textObjects = true; windows = true; nav = true; z = true; g = true; }; }; operators = { gc = "Comments"; }; keyLabels = { }; motions = { count = true; }; icons = { breadcrumb = "»"; separator = "➜"; group = "+"; }; popupMappings = { scrollDown = ""; scrollUp = ""; }; window = { border = "none"; position = "bottom"; margin = { top = 1; right = 0; bottom = 1; left = 0; }; padding = { top = 1; right = 2; bottom = 1; left = 2; }; winblend = 0; }; layout = { height = { min = 4; max = 25; }; width = { min = 20; max = 50; }; spacing = 3; align = "left"; }; ignoreMissing = false; hidden = [ "" "" "" "" "^:" "^ " "^call " "^lua " ]; showHelp = true; showKeys = true; triggers = "auto"; triggersNoWait = [ "`" "'" "g`" "g'" ''"'' "" "z=" ]; triggersBlackList = { i = [ "j" "k" ]; v = [ "j" "k" ]; }; disable = { buftypes = [ ]; filetypes = [ ]; }; }; }; }