How do I append text at the end of lines with different lengths using visual block?
<C-v>j$A;<Esc>
When lines have varying lengths, a normal visual block selection stops at the shortest line.
<C-v>j$A;<Esc>
When lines have varying lengths, a normal visual block selection stops at the shortest line.
<C-v>jjA text <Esc>
Enter visual block with , select lines with j, press A to append after the block.
qaA,<Esc>jq
Record a macro that moves to end of line with A, types a comma, escapes to normal mode, and moves down.
qA...q
Use uppercase register letter qA to append to macro a instead of overwriting.