On Thursday, 8 November 2018 at 18:48:05 UTC, Neia Neutuladh
wrote:
On Thu, 08 Nov 2018 18:38:55 +0000, welkam wrote:
On Thursday, 8 November 2018 at 18:15:55 UTC, Stanislav Blinov
wrote:
One keystroke (well ok, two keys because it's *) ;)
https://dl.dropbox.com/s/mifou0ervwspx5i/vimhl.png
What sorcery is this? I need to know. I guess its vim but how
does it highlight symbols?
By default, when you search for something in vim, it highlights
all matches (as well as moving the cursor to the next match).
The '*' command is 'search for the word under the cursor'.
"Near", not "under". But yup, key is "word", i.e. with a very
concise keystroke you get a highlighted search for a (in that
case) "\<m\>". If I were to search for just "m", I'd get the same
soup as in welkam's first screenshot.