# homepage: https://github.com/folke/which-key.nvim # nixvim doc: https://nix-community.github.io/nixvim/plugins/which-key/index.html { icons, ... }: { opts = { enable = true; icons.group = ""; window.border = "single"; # Disable which-key when in neo-tree or telescope disable.filetypes = [ "TelescopePrompt" "neo-tree" "neo-tree-popup" ]; # Customize section names (prefixed mappings) registrations = { "b".name = "${icons.Tab} Buffers"; "bs".name = "${icons.Sort} Sort Buffers"; "d".name = "${icons.Debugger} Debugger"; "f".name = "${icons.Search} Find"; "g".name = "${icons.Git} Git"; "l".name = "${icons.ActiveLSP} Language Tools"; "m".name = " Markdown"; "s".name = "${icons.Session} Session"; "t".name = "${icons.Terminal} Terminal"; "u".name = "${icons.Window} UI/UX"; ";".name = "Arrow buffers"; # This should move to arrow.nix when moving to which-key.add() "m".name = "Arrow marks"; # This should move to arrow.nix when moving to which-key.add( }; }; # Enable catppuccin colors # https://github.com/catppuccin/nvim/blob/main/lua/catppuccin/groups/integrations/which_key.lua rootOpts.colorschemes.catppuccin.settings.integrations.which_key = true; }