3 ms·For your second example, I'd do :2,8s/$/,/<enter>by cgriswald 7y agoFor your second example, I'd do :2,8s/$/,/<enter>