Hello,
I have new for vim.
I have a file like

alter table a1 enable constraints xxx;

alter table b1 enable constraints xxx;

alter table c1 enable constraints xxx;
....(millions of rows...)

I know if I want to search pattern "a1", and, move the line (with this
pattern) to end of file by using
:g/a1/m$

but if if want to search a couple of patterns, for example,like a1 and b1,
and move to the end of files,
how can I do?


Thank you for help

Vimlover




-- 
View this message in context: 
http://www.nabble.com/how-to-search-multiple-patterns-and-move-to-end-tp22519796p22519796.html
Sent from the Vim - General mailing list archive at Nabble.com.


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to