Hi, list,

I want to delete all regions between line '#begin' and line '#end' in a
buffer, for example, a buffer:
----------------------
#begin
region1
#end

Some text.

#begin
region2
#end

Some text.
Some text.
Some text.
----------------------

will become:
----------------------

Some text.


Some text.
Some text.
Some text.
----------------------
after the operation, how to do it in vim?


--
Regards,
Yue Wu

State Key laboratory of Natural Products and Functions
Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University
No.24, Tongjia Xiang Street, Nanjing 210009, China

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to