aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/remap.lua
diff options
context:
space:
mode:
authorpml68 <tutorialmester@gmail.com>2024-04-28 23:54:08 +0200
committerpml68 <tutorialmester@gmail.com>2024-04-28 23:54:08 +0200
commitf3b047e0877e7466d245585702b7d939825f83ed (patch)
tree8c5faa6af105ee41bc03cf69065c7bccbd441ca2 /lua/pml68/remap.lua
parentfeat: change LSP code action from F4 to gc (diff)
downloadnvim-f3b047e0877e7466d245585702b7d939825f83ed.tar.gz
feat: map Esc in normal mode to :nohl
Diffstat (limited to '')
-rw-r--r--lua/pml68/remap.lua3
1 files changed, 3 insertions, 0 deletions
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", "<leader>vl", "<cmd>VimtexView<CR>")
-- Screenkey
vim.keymap.set("n", "<leader>sk", "<cmd>Screenkey<CR>")
+-- highlights
+vim.keymap.set("n", "<Esc>", "<cmd>nohl<CR>")
+
-- switch between windows
vim.keymap.set("n", "<C-h>", "<C-w>h")
vim.keymap.set("n", "<C-l>", "<C-w>l")