From f3b047e0877e7466d245585702b7d939825f83ed Mon Sep 17 00:00:00 2001 From: pml68 Date: Sun, 28 Apr 2024 23:54:08 +0200 Subject: feat: map Esc in normal mode to :nohl --- lua/pml68/remap.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lua/pml68/remap.lua') diff --git a/lua/pml68/remap.lua b/lua/pml68/remap.lua index ec35d5d..45237ae 100644 --- a/lua/pml68/remap.lua +++ b/lua/pml68/remap.lua @@ -13,6 +13,9 @@ vim.keymap.set("n", "vl", "VimtexView") -- Screenkey vim.keymap.set("n", "sk", "Screenkey") +-- highlights +vim.keymap.set("n", "", "nohl") + -- switch between windows vim.keymap.set("n", "", "h") vim.keymap.set("n", "", "l") -- cgit v1.2.3