Maybe I am being daft but can you replace all the characters from where the cursor is to the end of line by one command? Then use . to do the same replace on the next line and so on.
Vim: replace all character till end of line
vim
Related Question
- How to delete in vim everything in between the cursor and the end of the line while on insert mode
- In Vim, how can I delete all text from the current cursor position until the next space
- The difference between “find” and “till” in vim
- Vim, how to delete from CURRENT cursor position, until end of line and next N lines
- Vim – how to replace one new line \n with two \n’s
Best Answer
If I understood your question properly, try this:
C (that's a capital C) will delete everything from the cursor to the end of the line and put you in INSERT mode, then you write your replacement, leave INSERT mode, use . to repeat the process somewhere else.