Table of Contents Preface Vim and the Global Command The Global Command as “ex command” Use the Global Command to delete all completely empty lines Use of the Global Command to delete all lines containing white spaces And now: reduce the consecutive blank lines to one More and more difficult: reduce all consecutive lines, in which whitespace is present, to one Short closing comments Preface On the topic of this article you may find interesting the following one: “Vim and Regular Expressions for removing redundant whitespace”.