How do I draw a vertical line instead of typing one by one?
For example, I wanna set a vertical line in column 10 for 20 rows. Just like my first line.
how do I do that in smart way?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First, set
virtualedit=all, to allow yourself to navigate past the end of a line:Then:
Where:
10|: moves you to screen column 1020j: moves you down 20 lines (adjust to taste)r|: replaces the selection with bars