2022-02-26 13:51:34 +01:00
|
|
|
local wk = require("which-key")
|
2024-07-20 23:43:19 +02:00
|
|
|
wk.setup({
|
|
|
|
icons = {
|
|
|
|
-- I don't like icons
|
|
|
|
mappings = false,
|
|
|
|
breadcrumb = "»",
|
|
|
|
separator = "➜",
|
|
|
|
group = "+",
|
|
|
|
ellipsis = "…",
|
|
|
|
keys = {
|
|
|
|
Up = " ",
|
|
|
|
Down = " ",
|
|
|
|
Left = " ",
|
|
|
|
Right = " ",
|
|
|
|
C = "<C>",
|
|
|
|
M = "<M>",
|
|
|
|
D = "<D>",
|
|
|
|
S = "<S>",
|
|
|
|
CR = "<CR>",
|
|
|
|
Esc = "<Esc> ",
|
|
|
|
NL = "<NL>",
|
|
|
|
BS = "<BS>",
|
|
|
|
Space = "<space>",
|
|
|
|
Tab = "<Tab> ",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
2024-07-26 13:52:17 +02:00
|
|
|
|
|
|
|
local keys = {
|
2024-07-26 13:54:11 +02:00
|
|
|
{ "<leader><leader>", vim.cmd.nohlsearch, desc = "Clear search highlight" },
|
2024-07-26 13:52:17 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
wk.add(keys)
|