folke / which-key.nvim

💥 Create key bindings that stick. WhichKey helps you remember your Neovim keymaps, by showing available keybindings in a popup as you type.
Apache License 2.0
4.76k stars 154 forks source link

`<leader>` key doesn't work #617

Closed Jrol123 closed 1 week ago

Jrol123 commented 1 week ago

Version of NVim

NVIM v0.10.0
Build type: RelWithDebInfo
LuaJIT 2.1.1713773202
Run "nvim -V1 -v" for more info

Packet manager Lazy Vim

Config

{
        "folke/which-key.nvim",
        event = "VeryLazy",
        init = function()
          vim.o.timeout = true
          vim.o.timeoutlen = 300
        end,
        opts = {
            -- your configuration comes here
            -- or leave it empty to use the default settings
            -- refer to the configuration section below
        }
    },

Checkhealth изображение

OS Fedora 40

Problem While other keys, (like z), work fine, the <leader> key (space) doesn't work at all!

I'm new to NVim, so, maybe, i haven't configured some key at the NVim config (haven't touched it, only worked with lazy), but i don't really know what's the issue here.

Please help!

folke commented 1 week ago

You have to configure your mapleader BEFORE loading lazy

Jrol123 commented 1 week ago

Ok, Thanks!