home: vim: update for 'which-key' v3

It complains quite loudly about the legacy mapping syntax.
This commit is contained in:
Bruno BELANYI 2024-07-20 22:43:19 +01:00
parent 4de7886950
commit 58760280be
7 changed files with 208 additions and 193 deletions

View file

@ -1,2 +1,27 @@
local wk = require("which-key")
wk.setup()
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> ",
},
},
})