nvim-snappy/lua/keymaps/search_hl.lua

4 lines
113 B
Lua

-- Set Highlight on Search
vim.opt.hlsearch = true
vim.keymap.set('n', '<leader><space>', '<cmd>nohlsearch<CR>')