From 8aed0f656a7ffaa130ab0f5ab9f6b2f0b0a7c071 Mon Sep 17 00:00:00 2001 From: Kevin James Lausen Date: Fri, 3 Jun 2022 21:30:27 -0400 Subject: [PATCH] Added Toggle of hlsearch, w/ noh. --- lua/user/keymaps.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lua/user/keymaps.lua b/lua/user/keymaps.lua index 9c38082..94d5b65 100644 --- a/lua/user/keymaps.lua +++ b/lua/user/keymaps.lua @@ -75,6 +75,12 @@ keymap("x", "", ":move '<-2gv-gv", opts) --"############################ keymap( "n", "top", ":set paste", opts) -- Turn special pasting on ONLY when needed. +--"################################################################ +--"# Toggle highlight searching. # +--"# Map nh to toggle off the search highlighting in Normal mode. # +--"################################################################ + keymap( "n", "nh", ":nohl", opts) + -- Terminal -- -- Better terminal navigation... ??? -- This is the ONLY block I am not sure if I want to include in my config,