mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
nvim: nohl on esc
This commit is contained in:
parent
a79b24e812
commit
ca2e9d8f31
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ vim.keymap.set('n', '<leader>gb', ':Gitsigns blame_line<CR>', { desc = 'Show git
|
||||||
|
|
||||||
-- Highlight
|
-- Highlight
|
||||||
vim.keymap.set({ 'n' }, '<BS>', ':nohl<CR>', { desc = 'Turn off highlight' })
|
vim.keymap.set({ 'n' }, '<BS>', ':nohl<CR>', { desc = 'Turn off highlight' })
|
||||||
|
vim.keymap.set({ 'n' }, '<ESC>', ':nohl<CR>', { desc = 'Turn off highlight' })
|
||||||
|
|
||||||
-- Filetypes
|
-- Filetypes
|
||||||
vim.filetype.add {
|
vim.filetype.add {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue