diff options
Diffstat (limited to 'pkgs/custom-neovim/config/lua/mappings.lua')
| -rw-r--r-- | pkgs/custom-neovim/config/lua/mappings.lua | 1 |
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 |
