home: vim: update for 'which-key' v3
All checks were successful
ci/woodpecker/push/check Pipeline was successful
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:
parent
94e4a445e1
commit
f40e184d64
7 changed files with 208 additions and 193 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue