this post was submitted on 25 Jul 2024
17 points (100.0% liked)
Neovim
2197 readers
6 users here now
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yes, I also have caps mapped to esc, but done in keyboard firmware so that holding it functions as ctrl.
In neovim I have two escapes mapped to :noh
Just to clarify - means two taps of the esc key in succession will clear highlighting (ps I'm curious how other people do it!).
nmap <esc><esc> :noh<return>
Here's what I do. Any search key will turn hlsearch on and will turn it off.
Nice!