Thursday, April 8, 2010

Possible error with gvim -p with multiple arguments (Linux)

Hello,
Suppose that you use vimrc_example.vim as your .vimrc.
Do the following:
gvim file1
put the cursor on line 100
:q
Do the same for file2.

Now doing "gvim file1" (or gvim file2) opens the file with line 100 at
the MIDDLE of the screen (OK).
Doing "gvim file1 file2" opens the 2 buffers with line 100 at the
MIDDLE of the screen (OK).

If you type
gvim -p file1 file2
file1 is opened with line 100 at the TOP of the screen. file2 is OK.

The same occurs with 3 arguments, always for the first file.

It is a minor imperfection.
Does somebody reproduce it?
Best regards
Jean Johner

--
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.

No comments: