> do you want both windows to display the same buffer or do you want the
> second one to be empty? In the fist case you can start vim with
>
>  vim -c split myfile
>
> In the second case use
>
>  vim -c new myfile
>
> With the -c option you tell Vim which commands shall be executed after
> loading the first file. Thus the first commands creates a second window
> for myfile, while the second one opens a new window.

Your first example is exactly what I was looking for.

Your second example does the same thing as:

vim -o2 myfile

I know this because it was what I tried to do first.

Now I understand the -c switch. I did know what that was.

There really is a lot to learn and a lot to read. This is one powerful editor.

Thank you

-- 
If we can but prevent the government from wasting the labours of the
people, under the pretence of taking care of them, they must become
happy. - Thomas Jefferson

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

To unsubscribe, reply using "remove me" as the subject.

Reply via email to