And, from a recently added tip (http://vim.wikia.com/wiki/
Recursive_repeats_for_quick_editing_of_structured_text), yet another
fun method:

qaq (clear register "a")
qa  (start recording to register "a")
3J  (join 3 lines)
j   (move the cursor to the next line)
@a  (execute register "a" - currently empty, but once we're done this
will recursively run the macro)
q   (stop recording)
@a  (run the recursive macro to join the lines in the rest of the
file)

This one is a bit longer, but really simple and kind of fun. It is
admittedly a bit wasteful for in terms of keystrokes for such a simple
task, but a nice tool to have nonetheless.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to