home: vim: update for 'which-key' v3
All checks were successful
ci/woodpecker/push/check Pipeline was successful

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 94e4a445e1
commit f40e184d64
7 changed files with 208 additions and 193 deletions

View file

@ -1,7 +1,7 @@
local wk = require("which-key")
local keys = {
["<leader>"] = { "<cmd>nohls<CR>", "Clear search highlight" },
{ "<leader><leader>", "<cmd>nohls<CR>", desc = "Clear search highlight" },
}
wk.register(keys, { prefix = "<leader>" })
wk.add(keys)