vim: select inside dots

后端 未结 5 2109
孤独总比滥情好
孤独总比滥情好 2020-12-16 17:10

I can\'t find a solution (here and on the web) for simply selecting/inserting/deleting stuff surrounded by dots (a common case in development) :

    someobje         


        
5条回答
  •  旧巷少年郎
    2020-12-16 17:48

    Maybe this is not what you're looking for, but I used the standard search functionality and typed in

    /\..*\.
    and it selected the .some-property-with-hyphens. value in your example above.

提交回复
热议问题