Background
I am new to vi/vim world and finished running the vimtutor several times.
The setup
In the tutorial we learn several items to correct or edit lines of text.
rto replace the letter the cursor is overi,a,Ato jump into insert modece,c2w,c<#><cmd>, etc - will delete the <#> and enter insert mode.
The question
Is their a way to use r to specific a number of characters to replace?
Similar to c I am looking for something like 2r to replace the next 2 characters. Is this possible? Is their a way to do this with c that I just haven't figured out yet?
rin visual mode to replace highlighted characters. So<ctrl-v>2Erxwould replace all characters of the current and next word (including space in between) with x. – Rolf Nov 01 '19 at 13:21