From 11a08a9bf9d1bd9ee3f40f0ea56f0483e2f16673 Mon Sep 17 00:00:00 2001 From: Huck Boles Date: Sat, 13 May 2023 15:29:23 -0500 Subject: [PATCH] better search highlighting that doesnt stick around --- lua/map.lua | 3 --- lua/settings.lua | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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 -- 2.45.2