I would like to delete every other line from a Vim buffer, starting with the second one, i.e., lines 2, 4, 6, etc. For example, if the buffer’s contents is:
a
We can use :normal or :norm to execute given normal mode commands. Source.
:normal
:norm
:%norm jdd