As the title suggests, how to split the page vertically on startup with .vimrc?
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.
If you want a vertical split when vim starts up, add an autocommand to your .vimrc:
Note that vim will do this for you if you’re opening multiple files on the command line: use the
-Oswitch.So you can start vim like this:
And vim will open with those two files both visible in a vertical split.