How to add some char Irregular length line in vim

I have txt

nmae
pye
vaaaalid_p
_________
amt
iscounasdt
csdotal_cnt
updasdioasdted_at
asddddddddqoa;kvsa;fjsdakj
as;dfja;dfksddddddddqoa;kvsa;fjsdakj
kkkkkkkkkk
tttt
uuuuuu

i want to turn to


nmae:
pye:
vaaaalid_p:
_________:
amt:
iscounasdt:
csdotal_cnt:
updasdioasdted_at:
asddddddddqoa;kvsa;fjsdakj:
as;dfja;dfksddddddddqoa;kvsa;fjsdakj:
kkkkkkkkkk:
tttt:
uuuuuu:

have easy way to do that?

Try this command: :%s/$/:/g

replace $ will append char ,i get it

You could also use :g like :g/./norm A:. It means “do A: in normal mode for every line that matches .” (so it will skip empty lines).