nix-config/modules/home/vim/after/plugin/mappings/misc.lua
Bruno BELANYI f40e184d64
All checks were successful
ci/woodpecker/push/check Pipeline was successful
home: vim: update for 'which-key' v3
It complains quite loudly about the legacy mapping syntax.
2024-07-25 20:29:00 +02:00

7 lines
143 B
Lua

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