Is it possible to add spacing every 4 characters in vi? And if it is, what’s a good google term to search for to learn how to do similar stuff?
Share
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.
To add a space every 4 characters you could use the following command (at least in VIM):
If you Google “VIM Substitution” you should end up with some useful examples.
Example:
becomes