Tuesday, March 2, 2010

Re: vim glitch with opening new files

On Tue, Mar 2, 2010 at 11:24 AM, John Beckett <johnb.beckett@gmail.com> wrote:
> Andrey Voropaev wrote:
>> vim new_file.c
>>
>> This opens empty file for editing.
>>
>> Now in vim I do
>>
>> :new new_file.h
>>
>> Instead of getting buffer with another empty file, I get the
>> screen split and new_file.c is for edit in both buffers.
>
> Are you sure? In my (pretty standard) Vim, I have a status-line
> that shows the name of the file associated with the buffer, and
> the above clearly shows that the top window is editing
> new_file.h and the bottom window is editing new_file.c.
>
> You can confirm by entering command:
>    :ls

Yes, I'm absolutely sure and this can be always reproduced. The output
of :ls in my case (editing test1.c and test1.h)


:ls
1 %a "test1.c" line 1

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

No comments:

Post a Comment