summaryrefslogtreecommitdiff
path: root/pkgs/custom-neovim/config/lua/mappings.lua
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-07-10 19:02:27 -0400
committertriethyl <triethylammonium@pm.me>2025-07-10 19:02:27 -0400
commit96792596b8b48fdf73d99caab5781394c6fab00c (patch)
tree765a108ac7069c76e392e3fb53e879c644ee3e18 /pkgs/custom-neovim/config/lua/mappings.lua
parent4afdfee5c1ce99a09fc70075ca674b961fd3faed (diff)
working on custom neovim
Former-commit-id: 4ce0bec0e948790108ad93d37bd99097537302a6
Diffstat (limited to 'pkgs/custom-neovim/config/lua/mappings.lua')
-rw-r--r--pkgs/custom-neovim/config/lua/mappings.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/custom-neovim/config/lua/mappings.lua b/pkgs/custom-neovim/config/lua/mappings.lua
index 1ffbadb..15a28e5 100644
--- a/pkgs/custom-neovim/config/lua/mappings.lua
+++ b/pkgs/custom-neovim/config/lua/mappings.lua
@@ -27,3 +27,4 @@ vim.keymap.set("c", "<cr>", function()
if vim.fn.pumvisible() == 1 then return '<c-y>' end
return '<cr>'
end, { expr = true }) -- Make enter complete command.
+mapkey("n", "<esc>", "Clear highlights", ":noh<cr>") -- Make esc clear highlights