nix-config/modules/home/vim/after/plugin/mappings/misc.lua
Bruno BELANYI 58760280be home: vim: update for 'which-key' v3
It complains quite loudly about the legacy mapping syntax.
2024-07-25 20:32:15 +01:00

8 lines
143 B
Lua

local wk = require("which-key")
local keys = {
{ "<leader><leader>", "<cmd>nohls<CR>", desc = "Clear search highlight" },
}
wk.add(keys)