Created
October 17, 2023 12:05
-
-
Save ewal/f10426f179d4f7765123966aed04d1d1 to your computer and use it in GitHub Desktop.
Clear highlighted search on Escape
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vim.keymap.set('n', '<Esc>', '<Esc>:noh<CR>', { silent = true }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment