nix-config/home/vim/after/plugin/mappings/misc.vim

10 lines
176 B
VimL

lua << EOF
local wk = require("which-key")
local keys = {
["<leader>"] = { "<cmd>nohls<CR>", "Clear search highlight" },
}
wk.register(keys, { prefix = "<leader>" })
EOF