local set = vim.keymap.set local normal = 'n' -- clears the search highlight set(normal, [[]], vim.cmd.nohlsearch) -- Space shall do no thing, other than being a leader set(normal, [[]], [[]])