Remove redundant hlsearch option (#1058)

pull/1042/head^2
Arvin Verain 7 months ago committed by GitHub
parent 56b9114bf2
commit f00b2866de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -157,8 +157,8 @@ vim.opt.scrolloff = 10
-- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()`
-- Set highlight on search, but clear on pressing <Esc> in normal mode
vim.opt.hlsearch = true
-- Clear highlights on search when pressing <Esc> in normal mode
-- See `:help hlsearch`
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
-- Diagnostic keymaps

Loading…
Cancel
Save