by lazylester · 13y ago · 0 comments
I'd like to suggest that using absolute line numbers shortens this considerably. For example
:43,48m63
removes lines 43 to 48 and inserts them after line 63 regardless of the current cursor position (no need to move cursor).
Not saying relative line numbers are bad, just, there's a quicker way, at least for the demo use case.
5dd
at the start of the block.I would argue that the author's way is the more idiomatic usage of vim.