vim: How to select highlighted part in matching expression?
世界只因有你2017-05-16 16:40:52
0
2
631
Actually, I want to highlight only the method name in the code, but I don’t want to highlight other characters.
For example: 'methodName'. in public function methodName (x, y)
Try this
/public function zsw*ze *(
zs
和ze
Mark the beginning and end of a matchRemember that vim has a plug-in to achieve this, lz you might as well google it