From: Huck Boles Date: Sat, 13 May 2023 20:29:23 +0000 (-0500) Subject: better search highlighting that doesnt stick around X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=11a08a9bf9d1bd9ee3f40f0ea56f0483e2f16673;p=nvim.git better search highlighting that doesnt stick around --- diff --git a/lua/map.lua b/lua/map.lua index 113283e..a32203f 100644 --- a/lua/map.lua +++ b/lua/map.lua @@ -25,9 +25,6 @@ vim.keymap.set('n', 'H', 'izzO') vim.keymap.set('n', 'L', 'izzi') vim.keymap.set('n', 'K', 'Jx') --- toggle ui elements -vim.keymap.set('n', '_', 'nohlsearch') - -- quick plugin editing vim.keymap.set('n', '=', 'tabnew ~/.config/nvim/init.lua') vim.keymap.set('n', 'q', 'Lazy') diff --git a/lua/settings.lua b/lua/settings.lua index 386c6e2..baaebcf 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -25,8 +25,8 @@ vim.o.ignorecase = true vim.o.infercase = true vim.o.smartcase = true +vim.o.hlsearch = false vim.o.incsearch = true -vim.o.hlsearch = true vim.o.history = 10000 vim.o.showmatch = true