how to cut and copy to register multi line match a pattern using vim global command(g:)

前端 未结 0 1623
孤城傲影
孤城傲影 2021-01-13 09:44

I know Delete all lines matching a pattern.

:g/pattern/d

and yank to register (Copy all lines matching a pattern to register \'a\'.)



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题