by eviks · 3y ago · 0 comments
:g/\(\d\{1,3}\.\)\{3}\d\{1,3\}/y A
Is there a way to type "ip" and select from a helper list with regex and description sorted by frecency?
also, a nit pick, if you use Magic mode (\v), that pattern gets way better:
:g/\v(\d{1,3}\.){3}\d{1,3}/y A
I‘ve been viming for 10+ y and just using the normal shortcuts and ways of manipulating text is a major productivity gain.