With Vim, I want to highlight only the first match of the expression.
For example, in the following text I want to highlight only the first a:
bdjh abc olkd abc abc
How can I understand that?
You can make it explicit
/^.\{-}\zsa
It does:
^
.\{-}
\zs
a
/\v(.*a.*)@<!a
this should work.
Source: https://habr.com/ru/post/1541094/More articles:saveEvent return "Calendar not set" - iosGO: The best way to find an element in structs - goMySQL indexing, different types and when to use them? - databaseHow to programmatically remove "singleton information" in an instance to make it a marshal? - ruby ββ| fooobar.comChange current working directory in IPython (Windows) - ipythonUnpacking parts of a file using GSUTIL before downloading - google-cloud-storageHow to use ThreadPool in C #? - c #Floating-point statement - why do these βidenticalβ arrays fail? - phpVolleyball POST request, error 400 - androidClojureScript circular dependency - clojureAll Articles