I want to add * to the end of each line in Vim.
*
I tried the code unsuccessfully
:%s/ /* /g
:%s/$/*/g
should work and so should :%s/$/*/g.
1.4m articles
1.4m replys
5 comments
57.0k users