nvim: add keymap to clear highlighted search
This commit is contained in:
parent
865aca8002
commit
42de7d9c83
|
@ -1,3 +1,6 @@
|
||||||
|
-- clear the highlighted search on <Esc> in normal mode
|
||||||
|
vim.keymap.set('n', '<Esc>', '<cmd>nohlsearch<CR>')
|
||||||
|
|
||||||
-- jump to start and end of line using the home row keys
|
-- jump to start and end of line using the home row keys
|
||||||
vim.keymap.set('n', 'H', '^')
|
vim.keymap.set('n', 'H', '^')
|
||||||
vim.keymap.set('n', 'L', '$')
|
vim.keymap.set('n', 'L', '$')
|
||||||
|
|
Loading…
Reference in New Issue