nvim: nohl on esc

This commit is contained in:
He4eT 2024-04-04 00:33:55 +02:00
commit ca2e9d8f31

View file

@ -113,6 +113,7 @@ vim.keymap.set('n', '<leader>gb', ':Gitsigns blame_line<CR>', { desc = 'Show git
-- Highlight
vim.keymap.set({ 'n' }, '<BS>', ':nohl<CR>', { desc = 'Turn off highlight' })
vim.keymap.set({ 'n' }, '<ESC>', ':nohl<CR>', { desc = 'Turn off highlight' })
-- Filetypes
vim.filetype.add {