nvim: dismiss search highlight with <leader>h instead of <cr>
This commit is contained in:
parent
7915fc72ce
commit
e673e66e1b
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ M.setup = function()
|
||||||
map("n", "<c-l>", "<c-w>l")
|
map("n", "<c-l>", "<c-w>l")
|
||||||
|
|
||||||
-- disable highlight until next search
|
-- disable highlight until next search
|
||||||
map("n", "<cr>", "<cmd>nohlsearch<cr>")
|
map("n", "<leader>h", "<cmd>nohlsearch<cr>")
|
||||||
|
|
||||||
local window = require("fschauen.util.window")
|
local window = require("fschauen.util.window")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue