tags:

views:

103

answers:

1

In ex-mode I can use :g/^$/d for the whole file. How to do it for a visual selected part of the file?

+8  A: 

Select text visually, press : to enter command mode, and use the same command or use the '< and '> markers. E.g. :'<,'><your command here>.

Alex
Thank's a lot! If it ever where as easy ;)
vbd